Skip to Content
CallMitraDocs
API referenceAgents

Delete an agent

Deletes the agent permanently. Past calls keep their records. To keep the agent but stop it, use pauseAgent.

DELETE
/api/v1/agents/{agent_id}

Deletes the agent permanently. Past calls keep their records. To keep the agent but stop it, use pauseAgent.

Authorization

headerX-API-Key<token>

Create in the console: Settings → API & webhooks.

Path Parameters

agent_id*Agent Id

Response Body

OK

application/json
  1. response

The agent was deleted.

message?Message

Human-readable confirmation.

Default"Agent deleted"
success?Success

Always true on success.

Defaulttrue
[key: string]?any
Example Request
curl -X DELETE 'https://api.callmitra.ai/api/v1/agents/string'
Example Response
{  "message": "Agent deleted",  "success": true}