---
title: "List toil leave rules"
method: GET
path: "/management/v2/leave-rules/toil"
tags: ["Leave Rules"]
---

# List toil leave rules

`GET /management/v2/leave-rules/toil`

## Request

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

List toil leave rules.

## Response `200`

A successful response.

- LeaveRulesListToilLeaveRulesResponse
  - `success` boolean
  - `leaveRules` LeaveRulesTOILLeaveRuleData[]
    - `name` string
    - `id` 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)
