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

# Update or Delete Knowledge Base

> Rename, update, or delete a RAG knowledge base

## Path Parameters

<ParamField path="knowledgeBaseId" type="string" required>
  Knowledge base ID (UUID).
</ParamField>

## Update a Knowledge Base

<ParamField body="name" type="string" required>
  New knowledge base name, 1-255 characters.
</ParamField>

<ParamField body="description" type="string | null">
  Optional description, up to 2000 characters.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X PUT https://api.telzino.com/v1/knowledge-bases/11111111-1111-1111-1111-111111111111 \
    -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{
      "name": "Updated Support Docs",
      "description": "Current customer support documentation"
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  { "success": true }
  ```
</ResponseExample>

## Delete a Knowledge Base

Deletes the knowledge base and its sources. Agents assigned to this knowledge base will no longer have a knowledge base to search until reassigned.

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE https://api.telzino.com/v1/knowledge-bases/11111111-1111-1111-1111-111111111111 \
    -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  { "success": true }
  ```

  ```json 404 theme={null}
  {
    "error": "not_found",
    "error_description": "Resource not found or access denied"
  }
  ```
</ResponseExample>
