Calendars

Create a blocked-time rule

post/calendars/{calendar}/blocked-times

Path parameters

calendarinteger required

Request body

labelstring required
type'single' | 'weekly' | 'monthly' | 'yearly' required
isAllDayboolean required
startDatestring date nullable
endDatestring date nullable
dayOfWeek'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday' | 'Sunday' nullable
dayOfMonthinteger nullable
monthOfYearinteger nullable
startTimestring nullable
endTimestring nullable
startsOnstring date nullable
endsOnstring date nullable

Response

Blocked-time rule created

idinteger
calendarIdinteger
labelstring
typestring
isAllDayboolean
startDatestring date nullable
endDatestring date nullable
dayOfWeekstring nullable
dayOfMonthinteger nullable
monthOfYearinteger nullable
startTimestring nullable
endTimestring nullable
startsOnstring date nullable
endsOnstring date nullable
summarystring
createdByinteger nullable
createdAtstring date-time nullable
updatedAtstring date-time nullable

Changes

No recorded changes to this endpoint across all 2 revisions of this API.