Delete Api Key
delete_api_keyPermanently revokes an API key so it stops working immediately; this action cannot be undone and requires an ADMIN key. Admin keys are deletable only in the dashboard.
Instructions
Permanently delete an API key: it stops working at once. This cannot be undone. ADMIN keys can be deleted only in the dashboard. Needs an ADMIN key. If key management is turned off on this server, nothing is deleted and the result gives the dashboard link instead.
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": "delete_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key_id | Yes | The key's numeric id (see list_api_keys) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||