DELETE/security/keys/{uuid}

Delete a private key

Deletes a private key identified by its UUID. Use this endpoint to remove a key that your team no longer needs. A key that is in use cannot be deleted.

1 parameter
uuidstringrequired
The UUID of the private key to delete.

5 status codes
200Returns a message confirming that the private key was deleted.
messagestringoptional
400Returned when the token is invalid.
messagestringoptional
401Returned when the request is unauthenticated.
messagestringoptional
404Returned when the private key is not found.
422Returned when the private key is in use and cannot be deleted.
messagestringoptional

Error handling

A 400 is returned when the token is invalid. A 401 is returned when the request is unauthenticated. A 404 is returned when the private key is not found, and a 422 is returned when the key is in use and cannot be deleted. The uuid path parameter must identify the private key to delete.