Cancels a scheduled secret deletion.
POST {{baseUrl}}/secrets/:secretId/actions/cancelDeletion
Cancels the pending deletion of the specified secret. Canceling a scheduled deletion restores the secret's lifecycle state to what it was before you scheduled the secret for deletion.
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. | |||
Accept | string |