cURL
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" }
Deletes a BYO agent by its UID. Use this endpoint to remove a BYO agent that is no longer needed.
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
Agent deleted successfully
Indicates whether the operation was successful
true
Human-readable result message
"Operation completed successfully"
Was this page helpful?