---
title: "Update default office hours"
method: PUT
path: "/office-hours/default"
---

# Update default office hours

`PUT /office-hours/default`

Set or replace the organization-wide default office hours. The shifts array replaces all existing default shifts — include every shift you want to keep. Example: Monday-Friday 9am-5pm EST would be one shift with day_of_week "monday_to_friday", start_time "09:00:00", end_time "17:00:00", and iana_timezone "America/New_York".

## Request body

- DefaultOfficeHoursInputDto
  - `iana_timezone` string, required — IANA timezone for the default schedule (e.g. "America/New_York", "Europe/London", "Asia/Tokyo")
  - `shifts` object[], required — Time blocks when support is available. Replaces all existing default shifts. Use day ranges like "monday_to_friday" for convenience.
    - `day_of_week` 'everyday' | 'friday' | 'friday_and_saturday' | 'monday' | 'monday_to_friday' | 'saturday' | 'sunday' | 'sunday_and_monday' | 'sunday_to_thursday' | 'thursday' | 'tuesday' | 'wednesday', required — Day(s) of week: "monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday", "everyday", "monday_to_friday", "sunday_to_thursday", "friday_and_saturday", "sunday_and_monday"
    - `start_time` string, required — Start time in HH:mm:ss format (e.g. "09:00:00")
    - `end_time` string, required — End time in HH:mm:ss format (e.g. "17:00:00")

## Response `200`

Default Response

- DefaultOfficeHoursResponseDto
  - `iana_timezone` string, required — IANA timezone (e.g. "America/New_York", "Europe/London")
  - `shifts` object[], required — The time blocks when support is available
    - `id` string, required — Shift ID
    - `day_of_week` 'everyday' | 'friday' | 'friday_and_saturday' | 'monday' | 'monday_to_friday' | 'saturday' | 'sunday' | 'sunday_and_monday' | 'sunday_to_thursday' | 'thursday' | 'tuesday' | 'wednesday', required — Day(s) of week: "monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday", "everyday", "monday_to_friday", "sunday_to_thursday", "friday_and_saturday", "sunday_and_monday"
    - `start_time` string, required — Start time in HH:mm:ss format (e.g. "09:00:00")
    - `end_time` string, required — End time in HH:mm:ss format (e.g. "17:00:00")

## Other responses

- `500` — Internal Server Error

---

[API](https://skmtc.net/open/apis/opencx-api.md) · [All operations](https://skmtc.net/open/apis/opencx-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/open/opencx-api/versions/57b06b52302d/schema)
