DELETE
/
accounts
/
agent
/
{agentId}
Revoke an agent
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

Successful revocation of the agent

success
boolean
Example:

true

message
string
Example:

"Agent revoked successfully."