---
title: "Close a batch by id"
method: PATCH
path: "/batch/{id}"
tags: ["batch"]
---

# Close a batch by id

`PATCH /batch/{id}`

This endpoint is used to close a batch for review and publication of media assets.
A closed batch if final and cannot be modified or deleted.
The batch must be in the 'open' state to be closed.

## Response `200`

The closed Batch object

## Other responses

- `400` — The request payload is not correctly formed.
- `403` — Access is denied to the requested resource.
- `404` — The object identified by path parameters does not exist.

---

[API](https://skmtc.net/dvidshub/apis/dvids-content-submission-api.md) · [All operations](https://skmtc.net/dvidshub/apis/dvids-content-submission-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dvidshub/dvids-content-submission-api/revisions/921b385ab6b9/schema)
