Updating All Versions of a Google Cloud Key
Use the get /v1/cckm/google/update-all-versions-jobs
API to update all versions of a Google Cloud key.
Syntax
Request Parameters
Parameter | Type | Description |
---|---|---|
AUTHTOKEN | string | Authorization token. |
key_id | string | ID of the Google Cloud key whose all versions are to be updated. |
operation | string | Operation to be performed on all versions of the Google Cloud key. The operation can be: • enable: Enable all versions of the Google Cloud key. • disable: Disable all versions of the Google Cloud key. • schedule_destroy: Schedule destruction of all versions of the Google Cloud key. A scheduled destruction can be canceled by running cancel_destroy described below.• cancel_destroy: Cancel scheduled destruction of all versions of the Google Cloud key. You can perform this operation if schedule_destroy has already been performed on the key versions. |
Example Request
Example Response
The sample output displays that the operation "disable"
on two versions ("version_count": 2,
) of a Google Cloud key is "in_progress"
.
Response Codes
Response Code | Description |
---|---|
2xx | Success |
4xx | Client errors |
5xx | Server errors |
Refer to HTTP status codes for details.