v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-134796204.9 KB
projects

Update the version of a CryptoKey that will be used in Encrypt. Returns an error if called on a key whose purpose is not ENCRYPT_DECRYPT.

post/v1/{+name}:updatePrimaryVersion

Path parameters

namestring required

Required. The resource name of the CryptoKey to update.

Request body

cryptoKeyVersionIdstring

Required. The id of the child CryptoKeyVersion to use as primary.

Response

Successful response