---
title: "Update holiday collection"
method: PUT
path: "/v1/organizations/{orgId}/holiday-collections/{id}"
tags: ["Holiday Collections"]
---

# Update holiday collection

`PUT /v1/organizations/{orgId}/holiday-collections/{id}`

## Path parameters

- `orgId` string, required
- `id` string, required

## Request body

- HolidayCollectionUpdateDto
  - `name` string
  - `description` string
  - `active` boolean

## Response `200`

Updated holiday collection

- HolidayCollectionDto
  - `id` string
  - `organizationId` string
  - `name` string
  - `description` string
  - `active` boolean
  - `user` string
  - `lastUpdate` integer
  - `created` integer
  - `deleted` boolean
  - `countries` HolidayCollectionCountryDto[]
    - `id` string
    - `collectionId` string
    - `countryCode` string
    - `regionCode` string
    - `created` integer

## Other responses

- `400` — Bad request
- `401` — Not authorized

---

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