---
title: "Update a holiday event (name, type)"
method: PUT
path: "/v1/holiday-collections/{collectionId}/events/{id}"
tags: ["Holiday Events"]
---

# Update a holiday event (name, type)

`PUT /v1/holiday-collections/{collectionId}/events/{id}`

## Request

- Base URL: `https://api.timesheet.io`
- URL: `https://api.timesheet.io/v1/holiday-collections/{collectionId}/events/{id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `Authorization`

## Path parameters

- `collectionId` string, required
- `id` string, required

## Request body

- HolidayEventUpdateDto
  - `name` string
  - `type` string

## Response `200`

Updated event

- HolidayEventDto
  - `id` string
  - `templateId` string
  - `collectionId` string
  - `name` string
  - `date` string
  - `year` integer
  - `type` string
  - `created` integer

## Other responses

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

---

[API](https://skmtc.dev/timesheet/apis/timesheet-api.md) - [All operations](https://skmtc.dev/timesheet/apis/timesheet-api/llms.txt) - [OpenAPI document](https://skmtc.dev/timesheet/apis/timesheet-api/revisions/2f6595c95dc4?raw)
