Delete a document from a given assistant.
| Parameter | Type | Required | Description |
|---|---|---|---|
externalId | string | Yes | The external ID you assigned when uploading |
externalId you provided when uploading the
document with POST /api/documents/assistant/raw.| Field | Type | Description |
|---|---|---|
status | string | Deletion status (e.g., βdeletedβ) |
| Status Code | Description |
|---|---|
| 400 | Bad Request - Invalid external ID |
| 401 | Unauthorized - Invalid or missing API key |
| 404 | Not Found - Document not found |
| 500 | Internal Server Error - Something went wrong |
"product-guide-v2""cms-article-12345""faq-${Date.now()}""user-manual-en"