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

# 刪除知識庫

> 刪除知識庫及其所有資料

## 請求

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

### 路徑參數

<ParamField path="projectId" type="string" required>專案 ID</ParamField>
<ParamField path="knowledgebaseId" type="string" required>知識庫 ID</ParamField>

### 標頭

<ParamField header="Authorization" type="string" required>
  使用您的 Developer Key 進行 Bearer 令牌認證
</ParamField>

## 回應

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

<Warning>
  此操作無法復原。刪除知識庫會移除其所有的資料集、區塊與已儲存的嵌入向量。
</Warning>
