---
title: "Activate holiday template"
method: PUT
path: "/v1/holiday-collections/{collectionId}/templates/{id}/activate"
tags: ["Holiday Templates"]
---

# Activate holiday template

`PUT /v1/holiday-collections/{collectionId}/templates/{id}/activate`

## Request

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

## Path parameters

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

## Response `200`

Template activated

- HolidayTemplateDto
  - `id` string
  - `collectionId` string
  - `name` string
  - `type` string
  - `sourceType` string
  - `countryCode` string
  - `regionCode` string
  - `jollidayKey` string
  - `recurring` boolean
  - `customDate` string
  - `customMonth` integer
  - `customDay` integer
  - `active` boolean
  - `lastUpdate` integer
  - `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)
