token.revoke
Revoke an access token immediately (its open proposal is withdrawn by the API layer).
- scope:
agents:admin - storefront-visible (bumps the catalog generation): no
- destructive: yes — supports dryRun preview
Payload
| field | type | required | notes |
|---|---|---|---|
id | string (/^tok_[0-9A-HJKMNP-TV-Z]{26}$/) | yes |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^tok_[0-9A-HJKMNP-TV-Z]{26}$"
}
},
"required": [
"id"
],
"additionalProperties": false
}Generated from the live platform registries at build time — reference pages cannot go stale. Markdown variant: /reference/commands/token.revoke.md