---
title: "Delete a bundle"
method: DELETE
path: "/bundles/{id}"
tags: ["Private"]
---

# Delete a bundle

`DELETE /bundles/{id}`

## Request

- Base URL: `/v1` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/v1/bundles/{id}`
- Auth: API key in header `Authorization`

Deletes a bundle and removes it from the scheduler if it's for a scheduled publication.

## Path parameters

- `id` string, required

## Response `204`

The bundle was removed

## Other responses

- `401`: Authentication information is missing or invalid.
- `403`: Access denied.
- `404`: The requested resource does not exist.
- `409`: Change rejected due to a conflict with the current resource state. A common cause is attempting to change a bundle that is already locked pending publication or has already been published.
- `500`: Failed to process the request due to an internal error.

## Changes

> 31 revisions in range; 2 not diffed.

- **2025-06-09** `632081a2683b`: 1 info
  - added the non-success response with the status `409`
- **2025-06-09** `df887f3f342a`: 1 info
  - removed the non-success response with the status `409`
- **2025-05-30** `6a8f2aa17901`: 1 info
  - added the non-success response with the status `409`

[Operation history](https://skmtc.dev/office-of-national-statistics/apis/bundle-administration/changes/bundles/:id/delete.md)

---

[API](https://skmtc.dev/office-of-national-statistics/apis/bundle-administration.md) - [All operations](https://skmtc.dev/office-of-national-statistics/apis/bundle-administration/llms.txt) - [OpenAPI document](https://skmtc.dev/office-of-national-statistics/apis/bundle-administration/revisions/4ac833f533b1?raw)
