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

# egulu secrets disable-version

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

```sh
egulu secrets disable-version [options]
```

## API operation

[SecretVersionLifecycle_disableVersion](../../api/secrets/SecretVersionLifecycle_disableVersion.md): `POST /v1/projects/{project}/locations/{location}/secrets/{secret}/versions/{version}:disableVersion` (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.
