v1
latestOpenAPI 3.0.12026-08-041753011.2 MBHoliday
Update a holiday
put/v1/workspaces/{workspaceId}/holidays/{holidayId}
Path parameters
workspaceIdstring required
Represents a workspace identifier across the system.
Example:60f91b3ffdaf031696ec61a8
Represents a workspace identifier across the system.
holidayIdstring required
Represents a holiday identifier across the system.
Example:60f927920658241e3cf35e02
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"
}