---
url: https://docs.mochiexec.io/reference/cli/mochi_secret_unlink.md
description: Remove a link from the current vault, leaving the secret itself untouched.
---

# mochi secret unlink

Remove a link from the current vault, leaving the secret itself untouched.

```shell
mochi secret unlink NAME [flags]
```

## Options

| Flag | Type | Description |
|------|------|-------------|
| `-h, --help` |  | help for unlink |
| `-o, --output` | `string` | Output format. One of: yaml, json, or tui. |
| `-V, --vault` | `string` | Vault name to use instead of the current vault. |

## Options inherited from parent commands

| Flag | Type | Description |
|------|------|-------------|
| `-L, --log-level` | `string` | Log verbosity level (debug, info, fatal) (default "info") |
| `--sync` |  | Sync flow cache and workspaces |

## See also

* [mochi secret](mochi_secret.md) — Manage secrets stored in a vault.
