← All frames
Frame (d) · route /settings/tokens

Revoke token

Revoking is immediate and permanent. Any service still using the token starts failing right away — so the confirm is honest about what breaks, especially when the token is in active use.

(d1) Revoke — confirm
(d2) Token in active use — type to confirm

Contract. DELETE /api/organizations/{orgId}/tokens/{tokenId}204 (idempotent). Revocation is server-side and immediate; the row disappears from the list on success.

Interaction rules. (d1) an ordinary token gets a single confirm. (d2) a token that shows recent activity ("in active use") escalates to type-to-confirm — Revoke stays disabled (data-requires-name-match) until the typed name matches, because revoking a live credential is a foot-gun that deserves friction. "Active use" is derived from the same last-used signal frame (a) commissions; until that field exists, treat every token as ordinary (d1) rather than guessing.

Review · api-tokens approve or reject each flow ↓
service-tokenspendingApproveReject