[egulu CLI reference](../index.md) / [egulu secrets](index.md)

# egulu secrets cancel-destroy

POST /v1/projects/{project}/locations/{location}/secrets/{secret}/versions/{version}:cancelDestroy

```sh
egulu secrets cancel-destroy [options]
```

## API operation

[SecretVersionLifecycle_cancelDestroy](../../api/secrets/SecretVersionLifecycle_cancelDestroy.md): `POST /v1/projects/{project}/locations/{location}/secrets/{secret}/versions/{version}:cancelDestroy` (secrets module)

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--location` | value | yes | location |
| `--project` | value | yes | project |
| `--secret` | value | yes | secret |
| `--version` | value | yes | version |

The [global options](../index.md) apply too.
