latestOpenAPI 3.1.02026-08-1963241304.5 KB

ae394a06c465

scheduled_freeze

Update a scheduled freeze

Update an existing scheduled freeze on the repository specified in the path. Only the fields provided in the request body will be updated.

patch/repos/{owner}/{repository}/scheduled_freeze/{freeze_id}

Path parameters

freeze_idstring uuid required

The scheduled freeze id

The scheduled freeze id

ownerstring required

The owner of the repository

The owner of the repository

repositorystring required

The name of the repository

The name of the repository

Request body

reasonstring nullable

The reason for the scheduled freeze.

startstring date-time nullable

When the scheduled freeze begins (date and time in ISO 8601 format without TZ). Can only be updated if the scheduled freeze has not yet begun. Set to null to start now.

endstring date-time nullable

When the scheduled freeze ends (date and time in ISO 8601 format without TZ). Set to null for an indefinite freeze.

timezonestring nullable

Timezone where the freeze is expected to happen.

Response

Successful Response

idstring uuid required
reasonstring required
startstring date-time required
endstring date-time nullable required
timezonestring required