---
title: "Update a holiday"
method: PATCH
path: "/holidays/{id}"
tags: ["Holidays"]
---

# Update a holiday

`PATCH /holidays/{id}`

## Request

- Base URL: `https://www.ruddr.io/api/workspace`
- URL: `https://www.ruddr.io/api/workspace/holidays/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string: The name of the holiday. Max 255 characters.
  - `description` string, nullable: A description of the holiday. Max 5000 characters.
  - `isActive` boolean: Whether the holiday is active.
  - `occurrences` string[]: A list of unique occurrence dates for this holiday using format `YYYY-MM-DD`.

## Response `200`

200

- Holiday
  - `id` string: The unique identifier for the object.
  - `name` string: The name of the holiday.
  - `description` string, nullable: A description of the holiday.
  - `readOnly` boolean: Whether the holiday is read-only. Read-only holidays are system defaults shared across all workspaces.
  - `isActive` boolean: Whether the holiday is active.
  - `createdAt` string, date-time: The timestamp when the object was created.
  - `occurrences` string[]: The list of occurrence dates for this holiday (`YYYY-MM-DD`).

## Other responses

- `400`: 400
- `404`: 404
- `409`: 409

---

[API](https://skmtc.dev/ruddr/apis/ruddr-api.md) · [All operations](https://skmtc.dev/ruddr/apis/ruddr-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ruddr/apis/ruddr-api/revisions/01c3f2a969ba?raw)
