Search the docs

Search guides, API endpoints and MCP tools.

Keys

revoke_api_key

Write grantDestructiveIdempotent

Revoke one of your person's API keys. Anything still using it gets 401 from then on. Needs write access.

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_api_key",    "arguments": {      "key": "Ak3mT8qWz1Lp"    }  }}
POST/clanker/v1/api-keys:revoke
curl -X POST https://api.clankership.com/clanker/v1/api-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.