---
title: "Remove from batch"
method: POST
path: "/v1/batches/{batch_id}/remove"
tags: ["batches"]
---

# Remove from batch

`POST /v1/batches/{batch_id}/remove`

Remove a shipment or rate from a batch

## Request body

- RemoveFromBatchRequestBody — A modify batch object
  - `shipment_ids` SeId[] — The Shipment Ids to be modified on the batch
  - `rate_ids` SeId[] — Array of Rate IDs to be modifed on the batch

## Response `204`

The request was successful.

- string

## Other responses

- `400` — The request contained errors.
- `404` — The specified resource does not exist.
- `500` — An error occurred on ShipEngine's side. > This error will automatically be reported to our engineers.

---

[API](https://skmtc.net/shipstation/apis/shipengine-api.md) · [All operations](https://skmtc.net/shipstation/apis/shipengine-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/shipstation/shipengine-api/revisions/8d8a7cf79204/schema)
