Delete an API key
delete_api_keyIRREVERSIBLE: Delete an API key
Deletes one of your API keys for good: it stops working at once and disappears from list_api_keys. Use revoke_api_key instead when the key should stay listed as revoked. Only keys made in the developer portal or with POST /developer/api-keys are deleted here; the access of a connected AI app ends with disconnect_ai_app. id comes from list_api_keys. 404 when no such key of yours exists.
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": "delete_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | id | |
| confirm | No | Leave out on the first call. EchoCall then answers with a confirmation value. Ask the user for a clear yes, then repeat the call with the same arguments and this value. |