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

# Delete Knowledge Base Item

> Soft deletes a knowledge base item by setting its status to 'DELETED'.

Marks a knowledge base item as deleted by setting its status to `"DELETED"`. This is a soft delete operation - the knowledge base item data is retained but becomes inaccessible for normal operations.

### Headers

**authorization** `string` *required*

Your API key for authentication.

### Path Parameters

**knowledge\_base\_id** `string` *required*

The unique identifier of the knowledge base item to delete.

### Response

**data** `object`

Deletion confirmation object.

**data.success** `boolean`

Always `true` when the deletion is successful.

**data.message** `string`

Confirmation message about the deletion.

**data.knowledge\_base\_id** `string`

The ID of the deleted knowledge base item.

**errors** `null`

Will be `null` on successful deletion.

```bash cURL theme={null}
curl -X DELETE https://api.bland.ai/v1/knowledge/kb_01H8X9QK5R2N7P3M6Z8W4Y1V5T \
  -H "authorization: Bearer YOUR_API_KEY"
```

```json Success Response theme={null}
{
  "data": {
    "success": true,
    "message": "Knowledge base successfully deleted",
    "knowledge_base_id": "kb_01H8X9QK5R2N7P3M6Z8W4Y1V5T"
  },
  "errors": null
}
```

```json Not Found Response theme={null}
{
  "data": null,
  "errors": [
    {
      "error": "KB_ERROR",
      "message": "KB not found or access denied"
    }
  ]
}
```

***

Docs for agents: [llms.txt](https://docs.bland.ai/llms.txt)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.