---
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}`

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.net/qomplement/apis/fastapi.md) · [All operations](https://skmtc.net/qomplement/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/qomplement/fastapi/versions/718de1c0d866/schema)
