---
title: "Update a holiday schedule"
method: PATCH
path: "/holiday-schedules/{id}"
tags: ["Holiday Schedules"]
---

# Update a holiday schedule

`PATCH /holiday-schedules/{id}`

## Request

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

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string: The name of the holiday schedule. Maximum 255 characters.
  - `isActive` boolean: Whether the holiday schedule is active.
  - `holidayIds` string[]: The IDs of holidays to associate with this holiday schedule. Replaces the existing set of holidays.

## Response `200`

200

- HolidaySchedule
  - `id` string: The unique identifier for the object.
  - `name` string: The name of the holiday schedule.
  - `isActive` boolean: Whether the holiday schedule is active.
  - `createdAt` string, date-time: The timestamp when the object was created.
  - `holidays` object[]: The list of associated holidays.
    - `id` string: The unique identifier for the object.
    - `name` string: The name of the holiday.

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