Agents

Revoke a router key

Revokes the key. The gateway stops accepting it within 60 s (router-key tokens live at most that long and the gateway re-exchanges on expiry). Idempotent. Human users only.

delete/v1/agents/{agent_id}/router-keys/{key_id}

Request

  • Base URL: https://api.1claw.co
  • URL: https://api.1claw.co/v1/agents/{agent_id}/router-keys/{key_id}
  • Auth: HTTP bearer

Path parameters

agent_idstring uuid required
key_idstring uuid required

Response

Revoked

idstring uuid required
agent_idstring uuid required
namestring required
key_prefixstring required

First 20 characters (sk-shroud-v1- + 7) — enough to recognise, not to use

max_concurrent_streamsinteger nullable
spend_cap_usdnumber nullable
created_atstring date-time required
last_used_atstring date-time nullable
revoked_atstring date-time nullable

Changes

No recorded changes to this operation across all 2 revisions of this API.