Skip to main content
DELETE
/
ai-agents
/
agents
/
{id}
Delete BYO Agent
curl --request DELETE \
  --url https://{appid}.api-{region}.cometchat.io/v3/ai-agents/agents/{id} \
  --header 'apikey: <api-key>'
{
  "success": true,
  "message": "Operation completed successfully"
}

Authorizations

apikey
string
header
required

API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).

Path Parameters

id
string
required

Response

Agent deleted successfully

success
boolean
required

Indicates whether the operation was successful

Example:

true

message
string
required

Human-readable result message

Example:

"Operation completed successfully"