Skip to main content
DELETE
/
api
/
v1
/
agents
/
{agentId}
Delete agent
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

fetch('https://blackbox.dasha.ai/api/v1/agents/{agentId}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "type": "<string>",
  "title": "<string>",
  "status": 123,
  "detail": "<string>",
  "instance": "<string>"
}
This operation permanently deletes the agent and cannot be undone.

What Gets Deleted

  • Agent configuration and all settings
  • Infrastructure resource assignments
  • Webhook configurations
  • SIP configuration

What Is Preserved

  • Call history remains accessible with references to this agent ID
  • Media files used by the agent are not deleted
  • Pronunciation dictionaries used by the agent are not deleted

Impact on Active Calls

Active calls using this agent will continue until completion but use the configuration snapshot from when the call started.

Path Parameters

agentId
string
required

Agent identifier

Response

Agent deleted successfully