Update a management key
Updates mutable fields of a management key: display name, status (active / disabled / revoked), permission mode and access map, and expiry. Omitted fields keep their current values.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Management key id to update.
Body
New name. Omit to keep current.
New lifecycle status. Omit to keep current.
MANAGEMENT_KEY_STATUS_UNSPECIFIED, MANAGEMENT_KEY_STATUS_ACTIVE, MANAGEMENT_KEY_STATUS_DISABLED, MANAGEMENT_KEY_STATUS_REVOKED New permission preset. Omit to keep current.
MANAGEMENT_PERMISSION_MODE_UNSPECIFIED, MANAGEMENT_PERMISSION_MODE_ALL, MANAGEMENT_PERMISSION_MODE_RESTRICTED, MANAGEMENT_PERMISSION_MODE_READ_ONLY Replacement access map. Required when changing to
MANAGEMENT_PERMISSION_MODE_RESTRICTED; ignored otherwise. Provide
an empty map to clear.
New expiration. Omit to keep current. Set clear_expires_at = true
to remove an existing expiration.
Force-clear the expiration. Mutually exclusive with expires_at.
Response
OK
Updated management-key.