delete_api_key
Revoke a posterly API key owned by the authenticated user. DESTRUCTIVE: show the user the exact key ID/prefix/name if available and get explicit confirmation before calling. Cannot revoke the key currently authenticating this request, OAuth-issued keys, or managed assistant keys.
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>",
"confirm": "<confirm>"
},
"name": "delete_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key_id | Yes | API key ID to revoke. This is the API key resource ID, not the secret pst_live_ value. | |
| confirm | Yes | Must be true after the user explicitly confirms API key revocation. |