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

# Delete Knowledge Base

> Delete a knowledge base and all its associated files.

## Headers

<ParamField header="x-api-key" type="string" required>
  API key used for authenticating requests to the API.
</ParamField>

<ParamField header="x-workspace-id" type="string" required>
  Workspace identifier for the API.
</ParamField>

## Path Parameters

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

## Response Fields

<ResponseField name="success" type="boolean">
  Whether the deletion was successful.
</ResponseField>

<ResponseField name="message" type="string">
  Confirmation message.
</ResponseField>

<ResponseExample>
  ```json theme={null}
  {
    "success": true,
    "message": "Knowledge base deleted successfully"
  }
  ```
</ResponseExample>
