Revoke an API key
revoke_api_keyIRREVERSIBLE: Revoke an API key
Revokes one of your API keys: it stops working at once but stays in list_api_keys, marked as revoked. Use delete_api_key instead to remove it from the list for good. A revoked key cannot be turned on again; a new key is made in the developer portal. Only keys made in the developer portal or with POST /developer/api-keys are revoked here; the access of a connected AI app ends with disconnect_ai_app. id comes from list_api_keys. 404 when no such key of yours exists.
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": {
"id": "<id>"
},
"name": "revoke_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | id | |
| confirm | No | Leave out on the first call. EchoCall then answers with a confirmation value. Ask the user for a clear yes, then repeat the call with the same arguments and this value. |