---
title: "Update holiday calendar"
method: PATCH
path: "/v1/holiday-calendar/{holiday_calendar_id}"
tags: ["Holiday calendar"]
---

# Update holiday calendar

`PATCH /v1/holiday-calendar/{holiday_calendar_id}`

Update a holiday calendar. Fields not passed are not updated.

## Path parameters

- `holiday_calendar_id` string, required

## Request body

- PresenterUpdateHolidayCalendarRequest
  - `type` 'authentication' | 'challenge-request' — Evaluation intention
  - `parent_id` integer — Calendar parent ID. Holiday calendars can have parent-child relationships, creating a hierarchy. Child calendars inherit holidays from their parent calendars. Common use case: Country → State → City hierarchy Example: - Brazil (parent) - São Paulo (child of Brazil) - Campinas (child of São Paulo) When you query holidays for Campinas, you automatically get: - Campinas city holidays - São Paulo state holidays - Brazil national holidays You can reference the parent calendar using either: - `parent_id`: The internal parent calendar ID - `parent_external_id`: The parent calendar `external_id`
  - `external_id` string — Customer-provided external ID field for customer monitoring and tracking.
  - `metadata` string — Any data object with key/value pairs. No limit on length. **Note**: This field must not be used to send Personally Identifiable Information (PII), Payment Card Industry (PCI) data, or any sensitive/regulated information. Metadata fields are intended for operational, non-sensitive data only. For sensitive data, use the specific parameters designed for that purpose. For more information, refer to [Get started with Pismo APIs](https://developers.pismo.io/pismo-docs/reference/get-started-with-pismo-apis#metadata).
  - `name` string — Holiday name
  - `working_days` integer[] — Working days array `1` = Monday, `6` = Saturday. Default = `[1, 2, 3, 4, 5]`.

## Response `204`

No Content

## Other responses

- `400` — Bad request
- `404` — Not Found
- `500` — Internal server error

---

[API](https://skmtc.net/pismo/apis/platform-authentication.md) · [All operations](https://skmtc.net/pismo/apis/platform-authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pismo/platform-authentication/revisions/935b62e16de4/schema)
