Revoke API Token
revoke_api_tokenRevoke an API token by NAME, permanently disabling every client authenticating with it. This is IRREVERSIBLE — a revoked token cannot be restored, only replaced with a new one from create_api_token — and REQUIRES CONFIRMATION: list the tokens first, then call again with confirm set to the exact token name, and only after the user has explicitly agreed. Fails without revoking anything when the name matches no token (TOKEN_NOT_FOUND), matches several (TOKEN_AMBIGUOUS), or the confirmation does not match. dryRun: true previews it first — the token's privileges, when it was last used, and whether it is the token this very connection runs on — without revoking anything or needing confirm. Before writing app code that consumes this, call get_integration_guide with topic=team and the framework the app uses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | Id of the Bridge app to act on for this call (see list_apps). Omit to use the current app. | |
| name | Yes | Token NAME from list_api_tokens. | |
| dryRun | No | true previews what the deletion would affect and deletes nothing — no confirm needed. Do this first and show the user the result. Needs the same privilege as the deletion itself. | |
| confirm | No | Repeat the exact key of the resource being deleted, as confirmation. Required to delete; not needed with dryRun. This is a deliberate safety step — do NOT guess it or copy it from a fuzzy match. If you are not certain, list the resources first and ask the user which one they mean. |