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

# Delete Knowledge Base

> Permanently delete a Famulor knowledge base and all its documents via API. AI voice assistants will lose access to the indexed content immediately.

This endpoint permanently deletes a knowledge base and all associated documents. This action cannot be undone.

### Path Parameters

<ParamField path="id" type="integer" required>
  The unique identifier of the knowledge base to delete
</ParamField>

### Response Fields

<ResponseField name="message" type="string">
  Success message
</ResponseField>

### What Gets Deleted

When you delete a knowledge base:

* **All documents** in the knowledge base are permanently deleted
* **Vector embeddings** are removed from the vector database
* **Document storage data** is cleaned up from external services

### What Happens to Attached Assistants

All assistants that used this knowledge base will have their knowledge base reference removed. They will continue to function, but without the knowledge base context.

<Warning>
  This action is irreversible. All documents and their processed content will be permanently deleted. Make sure you want to delete this knowledge base before proceeding.
</Warning>

<ResponseExample>
  ```json 200 Success theme={null}
  {
    "message": "Knowledgebase deleted successfully."
  }
  ```

  ```json 404 Not Found theme={null}
  {
    "error": "Knowledgebase not found."
  }
  ```
</ResponseExample>

<Tip>
  Related pages: [Introduction](/en/api-reference/introduction) and [Authentication Guide](/en/developers/authentication-guide), and [API Integration Examples](/en/developers/api-integration-examples).
</Tip>
