Revoke API Key
revoke_api_keyPermanently revoke the API key this server is currently using when you are done with it or it may have leaked. After revocation, every tool stops working until a new key is configured.
Instructions
Permanently revoke the API key (or connection) this server is using right now, and only that one: a key cannot revoke any other. Use it when the user is finished with this key, or it may have leaked. After it succeeds every tool here stops working until a new key is configured. A key used by an OAuth-connected app (ChatGPT, Claude) disconnects that app. On a connection someone shared with the user (a site share), this gives that access back and the owner is emailed. Confirm with the user first; confirm must be "revoke". Other keys are managed at https://porkbun.com/account/api.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"confirm": "<confirm>"
},
"name": "revoke_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be "revoke". | |
| dry_run | No | Show which key would be revoked, without revoking it. |