Skip to main content

Delete Agent

Delete an agent. Users can only delete their own agents.
path
string
required
Agent ID (numeric or ElevenLabs agent ID)
curl -X DELETE "https://api.example.com/api/v1/agents/123" \
  -H "X-API-Key: your-api-key-here"

Response

status
object
Response status information
code
integer
HTTP status code (200)
message
string
Status message
{
  "status": {
    "code": 200,
    "message": "Agent deleted successfully"
  }
}

Error Responses

401
object
Unauthorized - Invalid or missing authentication
404
object
Agent not found