DELETE /api-token/
Revoke Token
DELETE
/api-token/{token_key}
Revoke an API token by key.
Marks the Token document identified by token_key as revoked so that
subsequent requests bearing that JWT are rejected. The token document
is not deleted — the revocation state is persisted for audit purposes.
Emits: (direct transaction — no event class)
Required scope: org:api-token:revoke
Authorizations
OAuth2PasswordBearer
password Flow
Token URL
"/api/auth"Scopes:
"admin"User can access and edit users and system settings"library"User can access and edit products"production"User can access and edit production plans"operator"User can access the operator panel and make production declarations
Parameters
Path Parameters
token_key*
Type
Requiredstring
Responses
Successful Response
application/json
JSON "status": 200, "message": "string", "detail": "string"
{
}