> ## 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 artifact expire

Expire an artifact.

`artifact expire` expires an [artifact](/docs/architecture/storage/artifact-storage) in this workspace,
marking it for deletion.

## Usage

```bash theme={null}
nsc artifact expire <path> [--namespace <namespace>]
```

### Example

```sh theme={null}
% nsc artifact expire target.txt
Expired target.txt (namespace main)
```

## Options

<h3 id="--namespace-namespace">
  \--namespace \<namespace>
</h3>

Namespace of the artifact. Defaults to "main".
