> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chatnorris.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Eliminar agente

> Eliminar permanentemente un agente de IA.

# Eliminar agente

Elimina un agente de forma permanente. Esta acción no puede deshacerse.

<RequestExample>
  ```http theme={null}
  DELETE https://app.chatnorris.ai/api/v2/chatbots/{chatbot_id}
  Authorization: Bearer <tu_api_key>
  ```
</RequestExample>

**Scope requerido:** `chatbots:write`

***

## Path parameters

| Parámetro    | Tipo   | Descripción              |
| ------------ | ------ | ------------------------ |
| `chatbot_id` | string | ID del agente a eliminar |

***

## Respuesta `200 OK`

```json theme={null}
{
  "status": "success",
  "data": {
    "deleted": true
  }
}
```

***

<Warning>
  Eliminar un agente borra también su base de conocimiento, historial de conversaciones y configuración del widget. Esta acción es irreversible.
</Warning>

***

## Errores comunes

| Code        | Descripción                                          |
| ----------- | ---------------------------------------------------- |
| `NOT_FOUND` | El agente no existe o no pertenece a tu organización |
