> For the complete documentation index, see [llms.txt](https://anunzi-ai.gitbook.io/anunzi-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://anunzi-ai.gitbook.io/anunzi-docs/api-widgets/trabajar-con-la-api-de-llamadas/assistants/delete-assistant.md).

# Eliminar agente

**DELETE**\
`https://api.anunzi.net/v2/assistants/{model_id}`

Delete an existing AI call assistant from your Anunzi environment. This action is irreversible.

***

#### Path Parameters

| Parameter  | Type   | Required | Description                               |
| ---------- | ------ | -------- | ----------------------------------------- |
| `model_id` | string | Yes      | The unique ID of the assistant to delete. |

***

#### Example Request (cURL)

```bash
curl --request DELETE \
     --url https://api.anunzi.net/v2/assistants/23423432c24324324 \
     --header 'accept: application/json' \
     --header 'Authorization: Bearer API_KEY'
```

***

#### Example Response (200 OK)

```json
{
  "status": "ok",
  "response": {
    "answer": "Model deleted."
  }
}
```

***

#### Status Codes

| Code | Description                                 |
| ---- | ------------------------------------------- |
| 200  | Assistant deleted successfully.             |
| 400  | Bad Request. Invalid or missing parameters. |
