Api keys: revoke
api_keys_revokeRevoke an API key by ID immediately and permanently, making any script, CI job, or CLI profile using it fail to authenticate. Create a replacement first if access is still needed.
Instructions
Revoke an API key by ID. Revokes the key immediately and for good, so any script, CI job or CLI profile using it starts failing to authenticate. Create a replacement with api_keys_create first if something still needs access. It changes or deletes existing data, so check with the user before running it.
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": "api_keys_revoke"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | API key ID to revoke. Find it with api_keys_list. |