> ## Documentation Index
> Fetch the complete documentation index at: https://namespace.so/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# nsc vault delete

Delete an object from the vault.

`vault delete` removes a secret from your workspace's [vault](/docs/workspaces/security).

## Usage

```bash theme={null}
nsc vault delete --object_id <id>
```

### Example

```bash theme={null}
nsc vault delete --object_id sec_8fumgjd5jk
```

```text nocopy Output theme={null}
Successfully deleted object sec_8fumgjd5jk.
```

## Options

<h3 id="--object_id-id">
  \--object\_id \<id>
</h3>

The object to delete.

<h3 id="--if-version-matches-version">
  \--if-version-matches \<version>
</h3>

Only delete if the object version matches this value.
