revoke_api_key
Revoke a model API key by id: calls made with it stop working, and this cannot be undone. Use it only when the user asks to revoke a key; get the key_id from list_api_keys. Requires api_keys:write.
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_id": "<key_id>"
},
"name": "revoke_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key_id | Yes | Key id (a UUID from list_api_keys). |