revoke_api_key
Revoke one of the caller's API keys by uuid, so it stops authenticating at once. Use it to retire a leaked or unused key; find the uuid with list_api_keys. Repeating the call on an already revoked key returns the same result. Requires the api_keys:revoke scope.
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_uuid": "<key_uuid>"
},
"name": "revoke_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key_uuid | Yes | Public UUID of the key to revoke, as returned by create_api_key or list_api_keys. |