---
title: "Get Leave Location Settings"
method: GET
path: "/management/v2/leave-location-settings/{locationId}"
tags: ["Leave Location Settings"]
---

# Get Leave Location Settings

`GET /management/v2/leave-location-settings/{locationId}`

## Request

- Base URL: `https://your-subdomain.deputy.deputy.com/api`
- URL: `https://your-subdomain.deputy.deputy.com/api/management/v2/leave-location-settings/{locationId}`
- Auth: API key in header `OAuth`

Get Leave Location Settings.

## Path parameters

- `locationId` integer, required

## Response `200`

A successful response.

- LeaveLocationSettingsGetLeaveLocationSettingsResponse
  - `shouldDefaultClosedDaysToNonWorkingDays` boolean
  - `shouldDefaultPublicHolidaysToNonWorkingDays` boolean
  - `operatingHours` ModelOperatingHours[]
    - `day` 'UNKNOWN' | 'SUNDAY' | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY'
    - `startTime` string
    - `endTime` string

---

[API](https://skmtc.dev/deputy/apis/deputy-v2-api.md) - [All operations](https://skmtc.dev/deputy/apis/deputy-v2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/deputy/apis/deputy-v2-api/revisions/78f0278f4608?raw)
