# DELETE /voice-agent-kbs/:kb_id/documents/:doc_id

**Resource:** [Agent Knowledge Bases](./voice-agent-kbs.md)  
**Scopes:** `voice-kbs:delete`  
**Write operation:** yes

Remove a document from a knowledge base. Deletes the Retell source (best-effort) and the local tracking row. doc_id is the local UUID from the documents list, not the Retell source ID.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `kb_id` | path | uuid | yes | Knowledge base UUID |
| `doc_id` | path | uuid | yes | Document UUID (local ID from list endpoint) |

## Response example

```json
{"success": true}
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`