delete_api_key
Revoke an HMAC API key by key ID, requiring confirm: true to prevent accidental deletion; any caller using it stops working.
Instructions
Delete (revoke) an HMAC API key by its key id. Destructive: any caller using that key stops working. You must pass confirm: true. Authenticates with the session token from login, or NEXUS_EXCHANGE_SESSION_TOKEN.
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 | API key id to delete, e.g. "nx_a1b2c3d4e5f67890". | |
| confirm | No | Must be true to actually delete (guards against typos). |