Revoke one of your API keys
revoke_keyThe key stops working at once, on REST and MCP. Only keys on your own account can be revoked. Revoking the key you are calling with is allowed and ends your access, so make a new key first if you need one.
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_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| label | Yes | ||
| prefix | Yes | The first characters of the key, to tell keys apart. The secret is never shown again. | |
| scopes | Yes | ||
| created_at | Yes | ||
| revoked_at | Yes | ||
| is_this_key | Yes | ||
| last_used_at | Yes |