Skip to main content
POST
https://mtxbiyilvgwhbdptysex.supabase.co/functions/v1
/
delete-agent
curl -X POST https://mtxbiyilvgwhbdptysex.supabase.co/functions/v1/delete-agent \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"agent_id": "550e8400-e29b-41d4-a716-446655440000"}'
{
  "success": true
}
Permanently delete an AI agent from your account.
This action is irreversible. All agent configuration will be lost. Phone numbers assigned to this agent will be unassigned but not released.

Request Body

agent_id
string
required
The unique identifier of the agent to delete.

Response

success
boolean
Whether the agent was deleted successfully.
curl -X POST https://mtxbiyilvgwhbdptysex.supabase.co/functions/v1/delete-agent \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"agent_id": "550e8400-e29b-41d4-a716-446655440000"}'
{
  "success": true
}