Revoke a credential
revoke_api_tokenMake one credential stop working immediately: whoever (or whatever app) holds it is refused on its next call. Use it when a credential leaked or a third-party app should no longer have access. This cannot be undone — there is no restore tool, and a replacement has to be created on the web console with a new secret. Confirm which credential with the user first by reading its name and prefix from list_api_tokens. You can only revoke what you can see: your own credentials, or every credential in the workspace if you are the owner; anything else reports not found. You can revoke the credential you are calling with (and the one it was derived from) — during a leak that is exactly the right move, but this connection ends with it, so tell the user before doing it. Revoking stops that one credential only: pages, links, reading records and other credentials are untouched.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token_id | Yes | 要撤的那一枚的 token_id(从 list_api_tokens 来 —— 别处给不出) |