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

# Delete Document History

> Deletes a specific document entry from the document history.

### Request Format

```http
DELETE /api/document_history/{documentId}
X-API-Key: <api_key>
```

### Path Parameters

| Parameter  | Type   | Required | Description                                       |
| ---------- | ------ | -------- | ------------------------------------------------- |
| documentId | Number | Yes      | Unique ID of the document history entry to delete |

<RequestExample>
  ```bash cURL
  curl -X DELETE "https://api.clevrscan.com/api/document_history/92343" \
    -H "X-API-Key: <api_key>"
  ```
</RequestExample>

<ResponseExample>
  ```json Sample Response
  {
    "deleted_id": 92343,
    "message": "Document deleted successfully"
  }
  ```
</ResponseExample>
