Update a holiday
Changed onRequest
- Base URL: https://api.clockify.me/api
- URL: https://api.clockify.me/api/v1/workspaces/{workspaceId}/holidays/{holidayId}
- Auth: one of:
- API key in header x-api-key
- API key in header x-addon-token
Path parameters
Represents a workspace identifier across the system.
Represents a holiday identifier across the system.
Request body
Example request
{
"color": "#8BC34A",
"datePeriod": {
"endDate": "2023-02-16",
"startDate": "2023-02-14"
},
"name": "New Year's Day",
"occursAnnually": true,
"userGroups": {
"contains": "CONTAINS",
"ids": [
"5a0ab5acb07987125438b60f",
"64c777ddd3fcab07cfbb210c"
],
"status": "ACTIVE"
},
"users": {
"contains": "CONTAINS",
"ids": [
"5a0ab5acb07987125438b60f",
"64c777ddd3fcab07cfbb210c"
],
"status": "ACTIVE"
}
}Response
OK
Example response
{
"id": "5b715612b079875110791111",
"name": "New Year's Day",
"occursAnnually": true,
"projectId": "65b36d3c525e243c48f9150f",
"taskId": "65b36d46fa3df8607e42d21a",
"userGroupIds": [
"5b715612b079875110791342",
"5b715612b079875110791324",
"5b715612b079875110793142"
],
"userIds": [
"5b715612b079875110791432",
"5b715612b079875110791234"
],
"workspaceId": "5b715612b079875110792222"
}Changes
- info
the
request property default valuewas added - info
the
request property default valuewas added - info
the
request property default valuewas added - info
the
request property default valuewas added - info
the
request property default valuewas added - info
the
request property default valuewas added - info
the
request property default valuewas added - info
the
request property default valuewas added - info
the
request property default valuewas added - info
the
request property default valuewas added - info
the
request property default valuewas added - info
the
request property default valuewas added - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status
- info