Revoke Agent
Machine Agents
Revoke Agent
Permanently revoke a machine agent identity, terminating all sessions and blocking future operations
POST
Revoke Agent
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).
Authorizations
API key for machine-to-machine authentication
Path Parameters
Agent identifier
Body
application/json
Human-readable reason for revocation
Response
Agent revoked
Available options:
orchestrator, worker, inference, pipeline, service, bot, llm Maximum string length:
256Available options:
active, suspended, revoked Required range:
0 <= x <= 1Base64-encoded public key

