Revoke an enrolled agent (org admin+)
POST /sencai-agents/{id}/revoke
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.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
DocumentId
Responses
Section titled “ Responses ”Agent revoked
Missing or invalid authentication
Not authorized (tenant scope or capability)
Sencai-agent not found