Delete an agent
Updated
Deletes a saved agent.
Preview documentation
You're reading the Conversational AI Platform (Preview) docs. Switch to Main.
DELETE
https://preview.ai.agora.io/conversational-ai/v1/projects/{appid}/agents/{agent_id}You can't delete an agent that a phone number routes inbound calls to, or that a campaign that hasn't finished uses. Remove those references first.
appidstringRequired
The App ID of your project.
agent_idstringRequired
The ID of the agent, returned in agent_id when you create the agent.
Response Body
Request examples
curl -X DELETE 'https://preview.ai.agora.io/conversational-ai/v1/projects/string/agents/497f6eca-6276-4993-bfeb-53cbbbba6f08'Response example
Example Response
{ "deleted": true}