---
title: "DELETE Leave type"
method: DELETE
path: "/{{leave_type}}?access_token=xxxxxxx"
---

# DELETE Leave type

`DELETE /{{leave_type}}?access_token=xxxxxxx`

## Request

- Base URL: `https://www.humanity.com/api/v2`
- URL: `https://www.humanity.com/api/v2/{{leave_type}}?access_token=xxxxxxx`
- Auth: API key in query parameter `access_token`

Permission Level: 5

## Path parameters

- `leave_type` integer, required

## Response `200`

200

- object
  - `status` integer
  - `data` object
    - `id` string
    - `name` string
    - `description` string
    - `allow_hourly` string
    - `max_num_of_staff_at_once` unknown
    - `days_booked_in_advance` unknown
    - `entitled` integer
    - `created_at` string
    - `created_by` string
    - `updated_at` string
    - `updated_by` string
    - `deleted_at` string
    - `deleted_by` integer
  - `token` string
  - `error` unknown

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `ffb87b44c733`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/humanity-com/apis/humanity/changes/:{leave_type}%3Faccess_token=xxxxxxx/delete.md)

---

[API](https://skmtc.dev/humanity-com/apis/humanity.md) - [All operations](https://skmtc.dev/humanity-com/apis/humanity/llms.txt) - [OpenAPI document](https://skmtc.dev/humanity-com/apis/humanity/revisions/ffb87b44c733?raw)
