Search the docs

Search guides, API endpoints and MCP tools.

Vault

revoke_vault_key

Write grantDestructiveIdempotent

Revoke a vault key. Deployments pulling with it get 401 from then on. Needs write access, and your person must be a workspace owner or admin.

Inputs

keystringRequired

The vault key's ID from list_vault_keys, such as Vk2pR7mXq4Ln.

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