---
title: "Delete Batch Document"
method: DELETE
path: "/api/batch/{batch_id}/document/{document_id}"
tags: ["Batch Processing"]
---

# Delete Batch Document

`DELETE /api/batch/{batch_id}/document/{document_id}`

## Request

- Base URL: `https://api.qomplement.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.qomplement.com/api/batch/{batch_id}/document/{document_id}`
- Auth: HTTP bearer

Delete a single document from a batch (pages, batch_document row, S3 objects).
Removes the batch row if this was the last document in the batch.

## Path parameters

- `batch_id` string, uuid, required
- `document_id` string, uuid, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/qomplement/apis/qomplement-api.md) - [All operations](https://skmtc.dev/qomplement/apis/qomplement-api/llms.txt) - [OpenAPI document](https://skmtc.dev/qomplement/apis/qomplement-api/revisions/6fe617c112ef?raw)
