Update event calendar availability schedule
PUT/calendars/schedules/event-calendar/:calendarId
Update the availability schedule for a specific event calendar. Only provided fields will be updated. The calendar ID is provided in the path.
Request
Version stringrequired
API Version
Available options
v3calendarId stringrequired
Unique identifier of the event calendar
- application/json
- Body
- Example (auto)
Bodyrequired
rulesobject[]
Updated schedule rules defining when the schedule is active
timezonestring
Updated timezone for the schedule (IANA timezone identifier)
Possible values: Value must match regular expression ^[A-Za-z_]+/[A-Za-z_]+$
{
"rules": [
{
"type": "wday",
"day": "monday",
"intervals": [
{
"from": "08:00",
"to": "18:00"
}
]
}
],
"timezone": "America/Los_Angeles"
}
Schedule updated successfully for the event calendar
- application/json
- Schema
- Example (auto)
Schema
scheduleobjectrequired
The event calendar schedule
{
"schedule": {
"timezone": "America/New_York",
"rules": [
{
"type": "weekday",
"day": "monday",
"intervals": [
{
"from": "09:00",
"to": "17:00"
}
]
}
],
"calendarId": "WvVX9LpvlBO6K506xLbp"
}
}