cURL
curl --request DELETE \ --url https://{appid}.api-{region}.cometchat.io/v3/ai-agents/agents/{uid} \ --header 'apikey: <api-key>'
{ "success": true, "message": "Agent with UID '863f3501-af1b-46c1-9740-5c725b85daba' has been deleted successfully" }
Deletes a BYO Agent by its UID.
API Key (i.e. Rest API Key from the Dashboard).
Unique identifier of the agent
Agent deleted successfully
Indicates whether the operation was successful
true
Human-readable result message
"Operation completed successfully"
Was this page helpful?
Contact support