Schedules a deletion of a secret version.
POST {{baseUrl}}/secrets/:secretId/version/:secretVersionNumber/actions/scheduleDeletion
Schedules the deletion of the specified secret version. This deletes it after the specified retention period ends. You can only
delete a secret version if the secret version rotation state is marked as DEPRECATED
.
Request Body
{"timeOfDeletion"=>"<dateTime>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
if-match | string | For optimistic concurrency control. In the PUT or DELETE call for a | |
resource, set the if-match parameter to the value of the etag from a | |||
previous GET or POST response for that resource. The resource will be | |||
updated or deleted only if the etag you provide matches the resource's | |||
current etag value. | |||
opc-request-id | string | Unique identifier for the request. If provided, the returned request ID | |
will include this value. Otherwise, a random request ID will be | |||
generated by the service. | |||
Content-Type | string | ||
Accept | string |