Availabilities
Edit an existing availability
Getting Started
Attendees
Availabilities
Booking References
Bookings
Credentials
Destination Calendars
Event Types
Memberships
Schedules
Selected Calendars
Teams
Users
Availabilities
Edit an existing availability
PATCH
/
availabilities
/
{id}
curl --request PATCH \
--url https://api.cal.com/v1/availabilities/{id} \
--header 'Content-Type: application/json' \
--data '{
"scheduleId": 123,
"days": [
1,
2,
3,
5
],
"startTime": "1970-01-01T17:00:00.000Z",
"endTime": "1970-01-01T17:00:00.000Z"
}'
Authorizations
Path Parameters
ID of the availability to edit
Query Parameters
Your API key
Body
application/json
Edit an existing availability related to one of your bookings
The body is of type object
.
Response
201
OK, availability edited successfully
Was this page helpful?
curl --request PATCH \
--url https://api.cal.com/v1/availabilities/{id} \
--header 'Content-Type: application/json' \
--data '{
"scheduleId": 123,
"days": [
1,
2,
3,
5
],
"startTime": "1970-01-01T17:00:00.000Z",
"endTime": "1970-01-01T17:00:00.000Z"
}'