Skip to content

Update Office Hours Schedule Request

The request payload for updating an office hours schedule. Only the provided fields are updated. Any other field, apart from id, is rejected with a 400 error.

namestring

The name of the office hours schedule. It must be unique among the workspace's schedules; a duplicate name returns a 422 error.

Example:"Extended Support Hours"
time_zone_namestring

The IANA time zone the schedule's hours are evaluated in.

Example:"America/New_York"
time_intervalsArray of objects(Office Hours Time Interval)

The open intervals for the schedule. start_minute and end_minute must be on a 15-minute boundary, except for the whole-week interval 0 to 10079. Don't send day_of_week; it is read-only and a request that includes it is rejected with a 400 error. When provided, the intervals replace all of the schedule's existing intervals.

{ "name": "Extended Support Hours", "time_zone_name": "America/New_York", "time_intervals": [ { … } ] }