---
search:
  tags:
    - employees
    - POST
seo:
  description: >-
    Creates a new vacation days entry or updates an existing one for… Reference
    for the POST /employees/{id}/vacation-days endpoint in the Leadtime Public
    API API.
sidebar:
  badge: POST
  label: Create or update vacation days entry
title: Create or update vacation days entry
type: openapi-operation
---
Creates a new vacation days entry or updates an existing one for an employee.

**How it works:**
- If `id` is provided in the request body, updates the existing entry with that ID
- If `id` is omitted, creates a new entry
- Each entry defines vacation days per year that apply from a specific date

**Returns:** The updated employee object with all vacation days entries.

<Operation source="api-reference" id="employeescontroller-createorupdatevacationdays" />
