> ## 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.

# Remove Knowledge Base

> Removes a knowledge base.

## Endpoint

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

**Authentication**\
Requires header `authorization:  <your_token>`.

## Path Parameters

| Name | Type   | Required | Description                       | Example    |
| ---- | ------ | -------- | --------------------------------- | ---------- |
| id   | string | Yes      | Identifier of the knowledge base. | KB\_123456 |

## Example (cURL)

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

## Responses

### Response - Success

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

### 500 — Server Error

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

### 400 — Client Error

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