Delete Voice Agent API
This documentation explains how to delete a voice agent using the API.Endpoint
POST/api/v1/global/agents/delete
Authentication
Include your API token in the request header:Request Body
Query Parameters (Alternative)
You can also passagent_id as a query parameter:
Required Fields
| Field | Type | Description |
|---|---|---|
agent_id | integer | ID of the agent to delete |
Success Response
Status Code:200 OK
Error Responses
400 Bad Request
401 Unauthorized
404 Not Found
Example Request
Using Request Body
Using Query Parameter
Notes
- Deleting an agent is a permanent action. The agent will be marked as deleted and cannot be recovered.
- The agent must exist and belong to your workspace.
- Once deleted, the agent cannot be used for making calls.

