curl --request PUT \
--url https://api-{region}.sesametime.com/schedule/v1/vacation-configurations/{vacationConfigurationId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"dayType": "business_day",
"creationDateNextYear": "<string>",
"needsValidation": true,
"employeeRequestDenyExcessDaysOff": true,
"hoursQuantityConfigured": true,
"allowFreeHoursSelection": true,
"employeeRequestEnabled": true,
"configurationType": "max_days",
"requestVacationFrom": "<string>",
"renewalPeriod": "working_year",
"maxDaysOff": 123,
"maxDateToTakeVacations": 123,
"halfDayVacationConfiguration": "weekly_average",
"enjoyMonthPeriod": 123,
"notAllowedDateRanges": [
{
"from": "<string>",
"to": "<string>"
}
],
"year": 123
}
'