---
title: "PUT /api/planning/settings"
method: PUT
path: "/api/planning/settings"
tags: ["Divers"]
---

# PUT /api/planning/settings

`PUT /api/planning/settings`

## Request

- Base URL: `https://lucidnest.test`
- URL: `https://lucidnest.test/api/planning/settings`
- Auth: HTTP bearer

## Request body

- object
  - `working_hours_start` string: Must be a valid date in the format <code>H:i</code>.
  - `working_hours_end` string: Must be a valid date in the format <code>H:i</code>.
  - `working_days` string[]
  - `time_blocks` object[]
    - `mon` object
    - `tue` object
    - `wed` object
    - `thu` object
    - `fri` object
    - `sat` object
    - `sun` object
    - `*` object
      - `start` string: This field is required when <code>time_blocks.*.*.end</code> is present. Must be a valid date in the format <code>H:i</code>.
      - `end` string: This field is required when <code>time_blocks.*.*.start</code> is present. Must be a valid date in the format <code>H:i</code>.
  - `break_protocol` 'pomodoro' | 'flowtime' | 'ultradien' | 'none'
  - `day_capacity_pct` integer: Must be at least 1. Must not be greater than 100.
  - `planning_view_default` 'kanban' | 'timeline'
  - `planning_days_visible` integer: Must be at least 1. Must not be greater than 7.
  - `timezone` string: Must be a valid time zone, such as <code>Africa/Accra</code>.
  - `onboarded` boolean
  - `plan_day_sort_preference` 'priority' | 'deadline' | 'energy' | 'manual'

---

[API](https://skmtc.dev/lucidnest/apis/lucidnest-api-documentation.md) · [All operations](https://skmtc.dev/lucidnest/apis/lucidnest-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/lucidnest/apis/lucidnest-api-documentation/revisions/38638944c947?raw)
