UpdateBlockRequest
Request schema for updating a block.
Whether the block is all day.
The type of attachment for the block.
Possible values: [location, service, provider, service_provider]
The resources to which this block is attached. These can be service IDs (to block availabilty for all providers on a service), provider IDs (to block availability for a specific provider), service provider IDs (to block availability for a specific service provider), or location IDs (to block availability for a specific location).
The end date of the block.
The end time of the block.
Possible values: Value must match regular expression ^(?:[01]\d|2[0-3]):[0-5]\d$
The exception dates for the block.
Possible values: Value must match regular expression ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$
recurrence_rule objectnullable
The recurrence rule for the block (or null if there is no recurrence).
The days of the week on which the recurrence occurs.
Possible values: Value must match regular expression (mo|tu|we|th|fr|sa|su)$
["mo","we","fr"]Number of occurrences at which to end the recurrence.
Possible values: >= 1
The frequency of the recurrence.
Possible values: [daily, weekly]
How often the recurrence rule repeats.
Possible values: >= 1
2Date at which to end the recurrence (in ISO-8601 format).
2024-01-02The ID of the service for the block. Required when attachment_type is service_provider.
The start date of the block.
The start time of the block.
Possible values: Value must match regular expression ^(?:[01]\d|2[0-3]):[0-5]\d$
The time zone of the block.
The title of the block.
{
"all_day": false,
"attachment_type": "provider",
"attachments": [
"prov_d025a96ac0c6"
],
"end_date": "2025-10-27",
"end_time": "17:00",
"exception_dates": [
"2025-10-27T09:00:00"
],
"recurrence_rule": {
"byday": [
"mo",
"we",
"fr"
],
"freq": "weekly"
},
"start_date": "2025-10-27",
"start_time": "09:00",
"time_zone": "America/New_York",
"title": "Initial Consult"
}