---
title: "UNUSED — no app build calls this, and no availability read consults what it writes (see the note above this block). Full-replaces the weekly hours and raises coach_hours_conflict WorkItems for any now-out-of-hours future 1:1 bookings; the GHL copy is pushed only while GHL_AVAILABILITY_SYNC_ENABLED is on."
method: PUT
path: "/api/coach/scheduling/working-hours"
tags: ["coach-scheduling"]
---

# UNUSED — no app build calls this, and no availability read consults what it writes (see the note above this block). Full-replaces the weekly hours and raises coach_hours_conflict WorkItems for any now-out-of-hours future 1:1 bookings; the GHL copy is pushed only while GHL_AVAILABILITY_SYNC_ENABLED is on.

`PUT /api/coach/scheduling/working-hours`

## Request

- Base URL: `https://api.rewritelifestyle.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rewritelifestyle.ai/api/coach/scheduling/working-hours`
- Auth: HTTP bearer

## Request body

- SetWeeklyHoursDto
  - `hours` WeeklyHourRangeDto[], required
    - `dayOfWeek` number, required: 0 = Sunday .. 6 = Saturday
    - `startTime` string, required
    - `endTime` string, required

## Response `200`

## Changes

- **2026-09-12** `0d5ef02a4fbe`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/changes/api/coach/scheduling/working-hours/put.md)

---

[API](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api.md) - [All operations](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/revisions/28695827f27a?raw)
