revoke_token
Revoke an API token by ID. Requires Owner role. Revoked tokens are immediately invalidated and cannot be un-revoked. Returns: token_id (str) — UUID of the revoked token; revoked (bool) — always true on success.
destructive
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
token_id | str | Yes | — |
Returns
Section titled “Returns”Returns a structured object. Top-level fields:
token_id(string)revoked(boolean)
See the response example below for the full payload shape.
Example
Section titled “Example”Tool Call
Section titled “Tool Call”{ "name": "revoke_token", "arguments": { "token_id": "44444444-4444-4444-4444-444444444444" }}Response
Section titled “Response”{ "token_id": "44444444-4444-4444-4444-444444444444", "revoked": true}- Module:
Admin - Requires authentication via API token or Auth0 JWT.