---
title: "Get concurrent leave cap config"
method: GET
path: "/management/v2/concurrent-leave-cap"
tags: ["Concurrent Leave Cap Config"]
---

# Get concurrent leave cap config

`GET /management/v2/concurrent-leave-cap`

## Request

- Base URL: `https://your-subdomain.deputy.deputy.com/api`
- URL: `https://your-subdomain.deputy.deputy.com/api/management/v2/concurrent-leave-cap`
- Auth: API key in header `OAuth`

Get concurrent leave cap config.

## Response `200`

A successful response.

- ConcurrentLeaveCapConfigGetConcurrentLeaveCapConfigResponse
  - `success` boolean
  - `data` V2modelConcurrentLeaveCapConfig
    - `enabled` boolean
    - `excludedLeaveRules` ModelConcurrentLeaveCapConfigLeaveRule[]
      - `id` integer
      - `name` string
    - `defaultRule` ModelConcurrentLeaveCapRule
      - `locations` ModelConcurrentLeaveCapRuleLocation[]
        - `id` integer
        - `name` string
      - `maxPeople` integer
      - `blockType` 'UNKNOWN_BLOCK' | 'HARD_BLOCK' | 'SOFT_BLOCK' | 'HARD_NO_OVERRIDE'
    - `overrideRules` ModelConcurrentLeaveCapRule[]
      - `locations` ModelConcurrentLeaveCapRuleLocation[]
        - `id` integer
        - `name` string
      - `maxPeople` integer
      - `blockType` 'UNKNOWN_BLOCK' | 'HARD_BLOCK' | 'SOFT_BLOCK' | 'HARD_NO_OVERRIDE'
    - `version` integer
    - `actorUserId` string
    - `createdAt` string, date-time
    - `modifiedAt` string, date-time

---

[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)
