---
title: "Validate leave request for approval"
method: POST
path: "/management/v2/leave-requests/approval:validate"
tags: ["Leave Request"]
---

# Validate leave request for approval

`POST /management/v2/leave-requests/approval:validate`

## Request

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

Validate leave request for approval.

## Response `200`

A successful response.

- LeaveRequestValidateLeaveRequestForApprovalResponse
  - `success` boolean
  - `warnings` LeaveRequestApprovalValidationLeaveRequestWarnings
    - `balanceLimits` ModelBalanceLimitWarning[]
      - `leaveRuleId` string
      - `leaveRuleName` string
      - `leaveRuleUnit` 'UNIT_UNKNOWN' | 'UNIT_HOUR' | 'UNIT_DAY'
      - `threshold` number, double
      - `exceededAmount` number, double
    - `concurrentLeaveCaps` ModelConcurrentLeaveCapWarning
      - `locationId` integer
      - `locationName` string
      - `maxConcurrentLeave` integer
      - `affectedDates` ModelAffectedDate[]
        - `date` string
        - `employeesOnLeaveCount` integer

---

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