v1

latestOpenAPI 3.1.02026-07-26359254.7 MB
Holiday Calendars

Update a holiday calendar

<small>Requires the sequences:write scope (or a broader one that includes it).</small>

Updates an existing custom holiday calendar. Only custom calendars can be updated.

put/v3/holiday-calendars/{id}

Path parameters

idinteger required

Holiday calendar ID

Request body

namestring required

Name of the holiday calendar

repeatEveryYearboolean

Whether the holidays should repeat annually

Example request

{
  "name": "Company Holidays 2026 (Updated)",
  "repeatEveryYear": true,
  "holidays": [
    {
      "startDate": "2026-07-04",
      "endDate": "2026-07-04",
      "name": "Independence Day"
    }
  ]
}

Response

Holiday calendar updated successfully

idinteger

Unique identifier for the holiday calendar

namestring

Name of the holiday calendar

calendarTypestring

Type of calendar (e.g., "predefined", "custom")

countryCodestring

ISO 3166-1 alpha-2 country code

repeatEveryYearboolean

Whether the holidays repeat annually

Example response

{
  "id": 3,
  "name": "US Holidays",
  "calendarType": "custom",
  "countryCode": "US",
  "repeatEveryYear": true,
  "holidays": [
    {
      "id": 100,
      "startDate": "2026-12-25",
      "endDate": "2026-12-25",
      "name": "Christmas Day"
    }
  ]
}