freeze_periods

Update a freeze period

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

put/api/v4/projects/{id}/freeze_periods/{freeze_period_id}

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Path parameters

idstring required

The ID or URL-encoded path of the project

freeze_period_idinteger required

Request body

freeze_startstring

Start of the freeze period in cron format

freeze_endstring

End of the freeze period in cron format

cron_timezonestring

The time zone for the cron fields

Response

Update a freeze period

idinteger required
freeze_startstring required
freeze_endstring required
cron_timezonestring required
created_atstring date-time required
updated_atstring date-time required

Example response

{
  "id": 1,
  "freeze_start": "0 23 * * 5",
  "freeze_end": "0 8 * * 1",
  "cron_timezone": "UTC",
  "created_at": "2020-05-15T17:03:35.702Z",
  "updated_at": "2020-05-15T17:03:35.702Z"
}

Changes

No recorded changes to this operation across all 5 revisions of this API.