cURL
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>" ] } '
200
Result
{ "id": "c4f18a92-d7b3-4e06-85e1-a0c9f2d73b48", "name": "Canadian Statutory Holidays", "isActive": true, "createdAt": "2026-01-08T10:33:17.592Z", "holidays": [ { "id": "3e7b2c19-f4a8-4d50-96e3-d1c0f8a27b64", "name": "Canada Day" }, { "id": "9a1d4f72-c3e8-4b06-a5e2-f0b7d8c91a34", "name": "Christmas Day" }, { "id": "f8c23b41-a7d9-4e60-85e1-c4d0f2a18b73", "name": "Victoria Day" } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The holiday schedule uuid.
uuid
The name of the holiday schedule. Maximum 255 characters.
Whether the holiday schedule is active.
The IDs of holidays to associate with this holiday schedule. Replaces the existing set of holidays.
The unique identifier for the object.
The name of the holiday schedule.
The timestamp when the object was created.
The list of associated holidays.
Show child attributes