---
title: "Delete a holiday"
method: DELETE
path: "/v1/workspaces/{workspaceId}/holidays/{holidayId}"
tags: ["Holiday"]
---

# Delete a holiday

`DELETE /v1/workspaces/{workspaceId}/holidays/{holidayId}`

## Path parameters

- `workspaceId` string, required — Represents a workspace identifier across the system.
- `holidayId` string, required — Represents a holiday identifier across the system.

## Response `200`

OK

- HolidayDto
  - `autoImportHolidaySettingDto` AutoImportHolidaySettingDto — Represents holiday auto import settings.
    - `day` integer
    - `enabled` boolean
    - `month` integer
  - `automaticTimeEntryCreation` AutomaticTimeEntryCreationDto — Represents automatic time entry creation settings.
    - `defaultEntities` DefaultEntitiesDto
      - `projectId` string
      - `taskId` string
    - `enabled` boolean
  - `color` string — Provide color in format ^#(?:[0-9a-fA-F]{6}){1}$. Explanation: A valid color code should start with '#' and consist of six hexadecimal characters, representing a color in hexadecimal format. Color value is in standard RGB hexadecimal format.
  - `countryName` string — Represents imported public holiday country name.
  - `datePeriod` DatePeriod — Represents startDate and endDate of the holiday. Date is in format yyyy-mm-dd
    - `endDate` string, date
    - `startDate` string, date
  - `everyoneIncludingNew` boolean — Indicates whether the holiday is shown to new users.
  - `id` string — Represents holiday identifier across the system.
  - `imported` boolean
  - `name` string — Represents the name of the holiday.
  - `occursAnnually` boolean — Indicates whether the holiday occurs annually.
  - `userGroupIds` string[] — Indicates which user groups are included.
  - `userGroups` EntityIdNameDto[] — Contains names of user groups that are assigned to holiday.
    - `id` string
    - `name` string
  - `userIds` string[] — Indicates which users are included.
  - `users` EntityIdNameDto[] — Contains names of users that are assigned to holiday.
    - `id` string
    - `name` string
  - `workspaceId` string — Represents workspace identifier across the system.

---

[API](https://skmtc.dev/clockify/apis/clockify-api.md) · [All operations](https://skmtc.dev/clockify/apis/clockify-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/clockify/clockify-api/revisions/a5b636acbcd8/schema)
