Revoking access
Access is checked on every request. Revocation takes effect as soon as you remove the grant or deactivate the agent.
Remove a policy (grant)
DELETE /v1/vaults/:vault_id/policies/:policy_id
The principal (user or agent) immediately loses the permissions that policy granted. No cache; the next request fails with 403 if no other policy applies.
Deactivate an agent
DELETE /v1/agents/:agent_id
Permanently deletes the agent, removes its policies, and revokes all of its active JWTs immediately. It can no longer exchange its API key for a JWT. To disable an agent temporarily without deleting it, use PATCH /v1/agents/:agent_id with { "is_active": false }.
Rotate agent key
POST /v1/agents/:agent_id/rotate-key
Returns a new API key; the old one stops working. Use this to invalidate a leaked key without deactivating the agent.