Delete a domain API key
delete_domain_api_keyPermanently deletes a domain API key so any caller using it immediately receives 401 errors. Requires confirm=true; call once without confirm to preview the deletion first.
Instructions
Permanently deletes a domain API key — any caller using it starts getting 401s immediately. This cannot be undone (unlike update_domain_api_key's isActive:false, which is reversible). Requires confirm=true — first call WITHOUT confirm to preview, then again with confirm:true.
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": {
"domainId": "<domainId>",
"keyId": "<keyId>"
},
"name": "delete_domain_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyId | Yes | The key's id — from list_domain_api_keys. | |
| confirm | No | Must be true to delete. Omit/false returns a preview only. | |
| domainId | Yes | The domain's id — from list_domains. |