v4

latestOpenAPI 3.1.02026-08-01207318738.7 KB
API Tokens

Revoke an API token

Revokes an API token by permanently deleting it. Works for all token types. Requires organization admin permissions.

delete/api/v1/api-keys/{id}

Path parameters

idstring uuid required

Token UUID

Example:a1b2c3d4-e5f6-7890-abcd-ef1234567890

Token UUID

Response

The token was revoked

messagestring required

Human-readable description of the outcome

successtrue required

Always true on a successful revocation

Example response

{
  "message": "API token revoked"
}