Manual
CLI
API
Log in Get started free

Revoke a project key

Deletes a project key. It stops working at once.

Deletes a project key. It stops working at once.

HTTP
DELETE /projects/{projectId}/api-keys/{keyId}

Access: Session token only. API keys get 403 with insufficient_scope.

Role: Project manager (organisation owners and admins are managers of every project).

Path parameters #

ParameterDescription
projectIdThe id of the project.
keyIdThe id of the key.

Response 204 #

The key is deleted, or did not exist. There is no body.

Errors #

StatuserrorWhen
401unauthenticatedThe token is missing or not valid.
404not_foundThe project does not exist in your organisation, you have no access to it, or projectId is not a UUID.
403forbiddenYou are a member of the project, but not a manager.
429rate_limitedToo many requests, see Rate limiting.

See Errors for the error format.