---
title: "Update a holiday calendar"
method: PUT
path: "/v3/holiday-calendars/{id}"
tags: ["Holiday Calendars"]
---

# Update a holiday calendar

`PUT /v3/holiday-calendars/{id}`

<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.

## Path parameters

- `id` integer, required

## Request body

- object — Request body for updating an existing custom holiday calendar.
  - `name` string, required — Name of the holiday calendar
  - `repeatEveryYear` boolean — Whether the holidays should repeat annually
  - `holidays` object[] — List of holidays (replaces all existing holidays)
    - `startDate` string, date, required — Start date of the holiday
    - `endDate` string, date, required — End date of the holiday
    - `name` string, required — Name of the holiday

## Response `200`

Holiday calendar updated successfully

- object — Full representation of a holiday calendar including individual holidays.
  - `id` integer — Unique identifier for the holiday calendar
  - `name` string — Name of the holiday calendar
  - `calendarType` string — Type of calendar (e.g., "predefined", "custom")
  - `countryCode` string — ISO 3166-1 alpha-2 country code
  - `repeatEveryYear` boolean — Whether the holidays repeat annually
  - `holidays` object[] — List of holidays in this calendar
    - `id` integer — Unique identifier for the holiday
    - `startDate` string, date — Start date of the holiday
    - `endDate` string, date — End date of the holiday
    - `name` string — Name of the holiday

## Other responses

- `400` — Invalid id parameter or request body validation error
- `401` — Unauthorized. The response body is empty; check the `WWW-Authenticate` header for the expected scheme.
- `403` — Cannot modify predefined (non-custom) calendars, or user lacks scope
- `404` — Holiday calendar not found
- `409` — A holiday calendar with the given name already exists
- `429` — Too Many Requests

---

[API](https://skmtc.net/reply/apis/reply-api.md) · [All operations](https://skmtc.net/reply/apis/reply-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/reply/reply-api/revisions/1c3d32eaf95e/schema)
