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

# Delete Knowledgebase

> Delete a knowledgebase and all its data

## Request

```bash theme={null}
DELETE https://api.pathors.com/v1/projects/{projectId}/knowledgebases/{knowledgebaseId}
```

### Path Parameters

<ParamField path="projectId" type="string" required>The project ID</ParamField>
<ParamField path="knowledgebaseId" type="string" required>The knowledgebase ID</ParamField>

### Headers

<ParamField header="Authorization" type="string" required>
  Bearer token using your developer key
</ParamField>

## Response

```json theme={null}
{
  "message": "Knowledgebase deleted successfully"
}
```

<Warning>
  This action is irreversible. Deleting a knowledgebase removes all of its datasets, chunks, and stored embeddings.
</Warning>
