Search the docs

Search guides, API endpoints and MCP tools.

Keys

revoke_account_key

Write grantDestructiveIdempotent

Revoke an account API key. Scripts and CI using it get 401 from then on. Needs write access, and your person must be a workspace owner or admin.

Inputs

keystringRequired

The key's ID from its list, such as Ak3mT8qWz1Lp.

tools/callJSON-RPC
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "revoke_account_key",    "arguments": {      "key": "Ak3mT8qWz1Lp"    }  }}
POST/clanker/v1/account-keys:revoke
curl -X POST https://api.clankership.com/clanker/v1/account-keys:revoke \  -H "Authorization: Bearer $CLANKER_TOKEN" \  -H "Content-Type: application/json" \  -d '{    "key": "Ak3mT8qWz1Lp"  }'
The same call over the clanker HTTP API. Set CLANKER_TOKEN to a clanker OAuth access token.