v51

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-01140309549.5 KB
users
tokens

Revoke a token

DEPRECATED: User API tokens have been deprecated in favor of user API keys. This endpoint remains available to manage existing API tokens. Create a user API key instead.

Revoke an API token for a user. Revocation is terminal: a revoked token can no longer authenticate any request, and the revocation cannot be undone (for security — a leaked JWT must not become valid again). Only the authenticated user themselves and server admins have access to this endpoint.

delete/v0/users/{user}/tokens/{token}

Path parameters

tokenstring uuid required

The UUID for a token.

userstring required

The slug or UUID for a user.

Response

successful deletion