Scheduling Deletion of an OCI Key
Use the post /v1/cckm/oci/keys/{id}/schedule-deletion
API to schedule automatic deletion of an OCI key in a specified number of days.
Syntax
Here, {id}
is the resource ID of the OCI key on the CipherTrust Manager. Note that the resource id
is different from key_id
on OCI. Run the get /v1/cckm/oci/keys
API to view the resource ID (id
) of the OCI key on the CipherTrust Manager.
Request Parameters
Parameter | Type | Description |
---|---|---|
AUTHTOKEN | string | Authentication token. |
days | number | Number of days after which the key will be deleted. |
Example Request
Example Response
Response Codes
Response Code | Description |
---|---|
2xx | Success |
4xx | Client errors |
5xx | Server errors |
Refer to HTTP status codes for details.