Revoke API key
revoke_api_keyDelete an API key for good; anything using it stops working. Two steps: the first call returns CONFIRMATION_REQUIRED with a confirmToken; tell the user which key, then call again with the SAME arguments plus confirmToken.
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 | Key ID from list_api_keys. | |
| confirmToken | No | Leave empty on the first call. Then pass the token from the CONFIRMATION_REQUIRED answer. |