Deletes a key with its translations.
HTTP
DELETE /keys/{keyId}Access: Session token, or an API key with the keys:write scope.
Role: Project manager (organisation owners and admins are managers of every project).
Path parameters #
| Parameter | Description |
|---|---|
keyId | The id of the key. |
Response 204 #
The key is deleted. There is no body.
Errors #
| Status | error | When |
|---|---|---|
| 401 | unauthenticated | The token is missing or not valid. |
| 404 | not_found | The key does not exist, you have no access to its project, or keyId is not a UUID. |
| 403 | forbidden | You are a member of the project, but not a manager. |
| 429 | rate_limited | Too many requests, see Rate limiting. |
See Errors for the error format.
Notes #
Triggers the key.deleted webhook.