---
title: "Update a freeze period"
method: PUT
path: "/api/v4/projects/{id}/freeze_periods/{freeze_period_id}"
tags: ["freeze_periods"]
---

# Update a freeze period

`PUT /api/v4/projects/{id}/freeze_periods/{freeze_period_id}`

## Request

- Base URL: `https://gitlab.com`
- URL: `https://gitlab.com/api/v4/projects/{id}/freeze_periods/{freeze_period_id}`
- Auth: none declared

Updates a freeze period for a specified `freeze_period_id`. You must have the Maintainer or Owner role for the project.

## Path parameters

- `id` string, required
- `freeze_period_id` integer, required

## Request body

- PutApiV4ProjectsIdFreezePeriodsFreezePeriodId: Update a freeze period
  - `freeze_start` string: Start of the freeze period in cron format
  - `freeze_end` string: End of the freeze period in cron format
  - `cron_timezone` string: The time zone for the cron fields

## Response `200`

Update a freeze period

- APIEntitiesFreezePeriod: API_Entities_FreezePeriod model
  - `id` integer, required
  - `freeze_start` string, required
  - `freeze_end` string, required
  - `cron_timezone` string, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `400`: Bad request
- `401`: Unauthorized

---

[API](https://skmtc.dev/gitlab/apis/gitlab-api.md) - [All operations](https://skmtc.dev/gitlab/apis/gitlab-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gitlab/apis/gitlab-api/revisions/b234947ef3f2?raw)
