---
title: "Changes to Update branch retention policy"
method: PUT
path: "/branches/{branch_id}/retention_policy"
---

# Changes to Update branch retention policy

`PUT /branches/{branch_id}/retention_policy`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 3 of 50 revisions.

- **2023-02-19** `f5107ad99aec` — 1 breaking, 1 info
- **2023-02-18** `7796ef19a4c9` — 1 info
- **2021-01-31** `6dffc3a4de00` — 1 breaking

## Changes

- **2023-02-19** `f5107ad99aec` — 1 breaking, 1 info
  - removed the success response with the status `201`
  - added the success response with the status `200`
- **2023-02-18** `7796ef19a4c9` — 1 info
  - endpoint added
- **2021-01-31** `6dffc3a4de00` — 1 breaking
  - api path removed without deprecation

---

[Operation](https://skmtc.dev/kraken-ci/apis/server-api/docs/branches/:branch_id/retention_policy/put.md) · [API](https://skmtc.dev/kraken-ci/apis/server-api.md) · [Page](https://skmtc.dev/kraken-ci/apis/server-api/changes/branches/:branch_id/retention_policy/put)
