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

---

[API](https://skmtc.net/enterpilot/apis/gomodel-api.md) · [All operations](https://skmtc.net/enterpilot/apis/gomodel-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/enterpilot/gomodel-api/versions/4c27ea61fcfe/schema)
