Skip to main content
PATCH
/
holiday-schedules
/
{id}
Update a holiday schedule
curl --request PATCH \
  --url https://www.ruddr.io/api/workspace/holiday-schedules/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "isActive": true,
  "holidayIds": [
    "<string>"
  ]
}
'
{ "id": "3b1c7f42-a8d5-4e29-b6f1-8c0e2d7a9b34", "name": "US Standard Holidays", "isActive": true, "createdAt": "2025-03-10T14:22:08.511Z", "holidays": [ { "id": "9f4e2c81-d7b3-4a56-8e0f-1c5d3b7a6e29", "name": "Christmas Day" }, { "id": "5a8d1f63-c2e4-4b97-9d0a-7f3e6c2b8a15", "name": "Labor Day" }, { "id": "e7c4a9b2-f1d6-4e38-8b5c-0a2d4f9c3e71", "name": "New Year's Day" }, { "id": "2d6b8f14-e3a7-4c50-9f1d-8b5e0c7a4d23", "name": "Thanksgiving Day" } ] }
A named set of holidays that can be applied to workspace members. This allows different holiday observances per country or region.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The holiday schedule uuid

Body

application/json
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

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.