Skip to content

Revoke an API key

DELETE/v1/api-keys/{uid}

Revokes the key immediately. Requests using it are rejected with 401 from then on.

Authentication

Send your API key as Authorization: Bearer <token>.

Path parameters

uidstringRequired

The key's uid.

Response

200

The key was revoked.

successbooleanRequired

true when the request succeeded.

messagestringRequired

Human-readable status message.

Errors

StatusMeaning
401The API key is missing, invalid, expired or revoked.
404The resource does not exist or you cannot access it.

Errors use the standard error format.