Delete Key Rotation Policy

DELETE {{apiPath}}/environments/{{envID}}/keyRotationPolicies/{{krpID}}

The DEL /environments/{{envID}}/keyRotationPolicies/{{krpID}} operation deletes the specified key rotation policy in the environment. You cannot delete the default KRP for an environment. A DELETE operation won’t succeed if the environment has only one KRP.

Note: The key rotation policy must not be associated with any applications. If the key rotation policy is used by an application, it cannot be deleted.

When successful, the DELETE request returns a 202 Accepted message with the key rotation policy ID in the response body.