revoke_api_key
Revoke an API key (soft-delete via revokedAt). Subsequent requests with the key return 401. Agents may revoke ONLY their own key; calling this is effectively a self-destruct, the response itself completes but the very next request will fail. Users may revoke any key they own. To swap creds without going dark in the gap, use rotate_api_key instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | API key id to revoke. Omit when called by an agent; defaults to the agent's own current key. |