---
title: "Delete an agent"
method: DELETE
path: "/v1/agents/{id}"
---

# Delete an agent

`DELETE /v1/agents/{id}`

## Request

- Base URL: `https://volai.cz`
- URL: `https://volai.cz/v1/agents/{id}`
- Auth: HTTP bearer

Deletes the agent from both volai and ElevenLabs. A number that was attached to it stays yours - just give it new routing through PATCH /v1/numbers/{e164}.

## Path parameters

- `id` string, required

## Response `200`

Deleted

- object
  - `deleted` true, required

## Other responses

- `401`: Error codes: unauthorized (request).
- `403`: Error codes: account_suspended (account).
- `404`: Error codes: agent_not_found (account).
- `429`: Error codes: rate_limited (busy).
- `500`: Error codes: internal_error (service).

---

[API](https://skmtc.dev/volai/apis/volai-rest-api.md) · [All operations](https://skmtc.dev/volai/apis/volai-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/volai/apis/volai-rest-api/revisions/12029b05e2fa?raw)
