AY Developer docs
ApiAgents

Revoke an agent

Irreversible. Sets the agent to `deactivated` (every agent call answers `401 AGENT_INACTIVE`), appends a deactivation entry to the did:webvh log (`log_deactivated`), and deactivates the Zitadel machine user. The DID history stays public and verifiable.

DELETE
/agents/{id}

Irreversible. Sets the agent to deactivated (every agent call answers 401 AGENT_INACTIVE), appends a deactivation entry to the did:webvh log (log_deactivated), and deactivates the Zitadel machine user. The DID history stays public and verifiable.

Authorization

BearerAuth
AuthorizationBearer <token>

Owner token: the OIDC id_token of the signed-in user (Zitadel). Owners manage agents with it; agents never use it. Add X-Act-As: <business id> to act for a business you are a member of.

In: header

Path Parameters

id*string

Agent id.

Formatuuid

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/agents/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "message": "string",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "status": "string",  "log_deactivated": true}