clerk.delete_api_key
Permanently delete an API key from a connected Clerk application.
Call clerk.get_connected_accounts first. Pass clerk_instance_id to target a specific connection, or omit it to use the default account.
Returns the deleted API key id and a deleted flag.
Cost = 10 tokens.
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": {
"api_key_id": "<api_key_id>"
},
"name": "clerk.delete_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key_id | Yes | Clerk API key id (ak_...) to retrieve, update, delete, or revoke. | |
| clerk_instance_id | No | Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Deletion confirmation with API key id and deleted flag. |