CryptoKeyVersions_disable
Alpha
POST /v1/projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{version}:disable
| Property | Value |
|---|---|
| Permission | kms.cryptoKeyVersions.disable |
| Risk | R2 |
| Lifecycle | alpha |
| Request body | no |
| Agent tool | yes |
Parameters
| Name | In | Required | Type |
|---|---|---|---|
project | path | yes | string |
location | path | yes | string |
keyRing | path | yes | string |
cryptoKey | path | yes | string |
version | path | yes | string |
Responses
200, 400, 401, 402, 403, 404, 409, 412, 422, 429, 451, 500, 501, 503, 504
An error is an application/problem+json body; its code is one of the problem codes.
CLI
egulu crypto-key-versions disable