Delete agent
Agents
Delete agent
DELETE /v1/agents/:id
DELETE
Delete agent
Removes an agent. Phone numbers attached to this agent become inactive and stop routing calls.
Request
Response
200 OK:
Behaviour
- Calls in progress finish. Deleting doesn’t interrupt active calls.
- Phone numbers detach. Numbers previously attached become orphan — they won’t route calls until reassigned to another agent.
- Historical data is kept. Past calls, transcripts, and recordings stay accessible via the API and dashboard.
agent_idbecomes unusable. Future requests with this ID return 404.
Errors
| Code | Cause |
|---|---|
agent_not_found | ID doesn’t exist or isn’t yours |