Revoke an API key (irreversible)
revoke_api_keyTurn off one API key, by the name the user gave it or by its id from list_api_keys. Anything still using it stops working on its next call, including possibly this connection — say which key you are about to revoke and let the user confirm before calling. Cannot be undone: a replacement is a new key. A notice goes to the account's email address.
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": {
"key": "<key>"
},
"name": "revoke_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The key's name as list_api_keys shows it, or its id. |