cURL
curl --request DELETE \ --url https://{appid}.api-{region}.cometchat.io/v3/ai-agents/agent-builder/agents/{id} \ --header 'apikey: <api-key>'
{ "success": true, "message": "Operation completed successfully" }
Deletes an agent by its UID. Use this endpoint to remove an agent that is no longer needed.
API Key with fullAccess scope(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?