---
title: "Delete Knowledge Base"
method: DELETE
path: "/knowledge_bases/{id}"
tags: ["Knowledge Base"]
---

# Delete Knowledge Base

`DELETE /knowledge_bases/{id}`

Delete a knowledge base entry by its ID.

## Path parameters

- `id` integer, required

## Response `200`

The knowledge base entry has been deleted successfully.

- CommonResponse
  - `request_id` string, required — Unique identifier for the request.
  - `error_code` integer, required — Numeric error code representing the status of the response. A value of `200` indicates success. <br> See the [Error Codes](/reference/error-manual#error-codes) section for more information.
  - `error_msg` string, required — Message detailing the status of the response.

## Other responses

- `404` — The knowledge base entry does not exist or does not belong to the operator.

---

[API](https://skmtc.net/hostex/apis/hostex-api.md) · [All operations](https://skmtc.net/hostex/apis/hostex-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hostex/hostex-api/versions/a3fa555dee66/schema)
