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

# Eliminar Base de Conocimiento

> Elimina una base de conocimiento.

## Endpoint

`DELETE https://gateway.orkeia.ai/knowledge-bases/{id}`

**Autenticación**\
Requiere el encabezado `authorization:  <tu_token>`.

## Parámetros de Ruta

| Nombre | Tipo   | Obligatorio | Descripción                               | Ejemplo    |
| ------ | ------ | ----------- | ----------------------------------------- | ---------- |
| id     | string | Sí          | Identificador de la base de conocimiento. | KB\_123456 |

## Ejemplo (cURL)

```bash theme={null}
curl -X DELETE "https://gateway.orkeia.ai/knowledge-bases/KB_123456"   -H "Authorization: Bearer <tu_token>"   -H "Content-Type: application/json"
```

## Respuestas

### Response - Éxito

```json response theme={null}
{
  "status": "OK",
  "data": true
}
```

### 500 — Error del Servidor

```json theme={null}
{
  "status": "ERROR",
  "code": "server/error",
  "data": null
}
```

### 400 — Error del Cliente

```json theme={null}
{
  "status": "ERROR",
  "code": "client/error",
  "data": null
}
```
