---
title: "Changes to delete branch"
method: DELETE
path: "/repositories/{repository}/branches/{branch}"
---

# Changes to delete branch

`DELETE /repositories/{repository}/branches/{branch}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 6 of 216 revisions.

- **2025-11-24** `add5a8870f32`: 1 info
- **2025-07-29** `27799ffec9a5`: 2 info
- **2023-12-25** `48234330dc55`: 1 info
- **2023-10-05** `eb24071f2168`: 1 info
- **2023-02-23** `06885123adfc`: 1 info
- **2021-04-01** `6067e979b992`: 3 info

## Changes

- **2025-11-24** `add5a8870f32`: 1 info
  - added the non-success response with the status `400`
- **2025-07-29** `27799ffec9a5`: 2 info
  - added the non-success response with the status `429`
  - removed the non-success response with the status `420`
- **2023-12-25** `48234330dc55`: 1 info
  - added the new optional `query` request parameter `force`
- **2023-10-05** `eb24071f2168`: 1 info
  - added the non-success response with the status `420`
- **2023-02-23** `06885123adfc`: 1 info
  - added the non-success response with the status `403`
- **2021-04-01** `6067e979b992`: 3 info
  - added the media type `application/json` for the response with the status `401`
  - added the media type `application/json` for the response with the status `404`
  - added the media type `application/json` for the response with the status `default`

---

[Operation](https://skmtc.dev/treeverse/apis/lakefs-api/docs/repositories/:repository/branches/:branch/delete.md) - [API](https://skmtc.dev/treeverse/apis/lakefs-api.md) - [Page](https://skmtc.dev/treeverse/apis/lakefs-api/changes/repositories/:repository/branches/:branch/delete)
