Skip to content

Revoke an enrolled agent (org admin+)

POST
/sencai-agents/{id}/revoke

Sets status=revoked; agent-gateway delivers a revoke instruction on the agent’s next capability poll, which uninstalls the on-host agent.

id
required
string

DocumentId

Agent revoked

Missing or invalid authentication

Not authorized (tenant scope or capability)

Sencai-agent not found