---
title: "Delete an ended message batch"
method: DELETE
path: "/v1/messages/batches/{id}"
tags: ["messages"]
---

# Delete an ended message batch

`DELETE /v1/messages/batches/{id}`

## Path parameters

- `id` string, required

## Response `200`

OK

- AnthropicapiDeletedMessageBatch
  - `id` string
  - `type` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found

## Changes

> 53 revisions in range; 5 could not be searched.

- **2026-07-21** `a807d76b5ae5` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/enterpilot/apis/gomodel-api/changes/v1/messages/batches/:id/delete.md)

---

[API](https://skmtc.dev/enterpilot/apis/gomodel-api.md) · [All operations](https://skmtc.dev/enterpilot/apis/gomodel-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/enterpilot/gomodel-api/revisions/7b5727a74f59/schema)
