Documentation Index
Fetch the complete documentation index at: https://docs.truthlocks.com/llms.txt
Use this file to discover all available pages before exploring further.
Revoke Agent
POST /v1/agents/{agentID}/revoke
Permanently revokes a machine agent identity. This is an irreversible operation that:
- Sets the agent status to
"revoked" - Invalidates all active sessions
- Blocks all future tool invocations
- Prevents the agent from being used in new delegations
Authentication
RequiresX-API-Key header or Bearer JWT token. Tenant-scoped via X-Tenant-ID.
Path Parameters
The MAIP agent identifier (e.g.,
maip:t1234567:01HYX3KPZQ7RJGBN0WFMV8SDEH).Request Body
Human-readable explanation for the revocation. Permanently recorded in the
audit log. Maximum 1024 characters.
Response
Updated status, always
"revoked" on success.The MAIP agent identifier that was revoked.
Example
When to Revoke vs. Suspend
After revoking an agent, you can still view its full history via the GET
/v1/agents/ endpoint.
The agent record is retained indefinitely for audit compliance (SOC 2 Type II,
ISO 27001).

