Endpoint
Authentication
Requires a Personal API Access Token.Header
Request
Headers
Path Parameters
Query Parameters
Response
Success Response (200 OK)
cURL Example
Example 1: Delete Key (Default: Clear JWK References)
Example 2: Delete Key and Clear JWK References
Example 3: Delete Key and Delete Related JWKs
Notes and Warnings
-
Permanent Deletion:
- Key is permanently deleted
- This action cannot be undone
-
Automatic Undeployment:
- Key is automatically undeployed from all environments
- Undeployment results are returned in the response
-
Referenced JWKs:
- If
jwkDeleteAction=NULLIFYor not provided (default), JWK references will be cleared - If
jwkDeleteAction=DELETE, all JWKs created from this key will be permanently deleted - Default behavior (
NULLIFY) preserves JWKs but removes their reference to the deleted key
- If
Permissions
User must haveSECRETS + MANAGE permission in the project. For undeployment operations (when undeploying keys from environments), user must also have SECRETS + DEPLOY_UNDEPLOY permission.
Related Documentation
- List Keys - List all keys
- Create Key - Create a new key

