cURL
curl --request PATCH \ --url 'https://api.cal.com/v1/availabilities/{id}?apiKey=' \ --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" } '
ID of the availability to edit
Your API key
Edit an existing availability related to one of your bookings
Array of integers depicting weekdays
0
1
2
3
4
5
ID of schedule this availability is associated with
Start time of the availability
End time of the availability
OK, availability edited successfully
Was this page helpful?