DELETE
/
accounts
/
agent
/
{agentId}
curl --request DELETE \
  --url https://server.ownid.com/{appId}/accounts/agent/{agentId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Agent revoked successfully."
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Authorization
string
required

Bearer Token for admin authorization

Path Parameters

agentId
string
required

Unique identifier for the AI agent

Response

200
application/json
Successful revocation of the agent
success
boolean
message
string