cURL
curl --request PATCH \ --url 'https://api.cal.com/v1/availabilities/{id}?apiKey=' \ --header 'Content-Type: application/json' \ --data ' { "days": [ 0 ], "scheduleId": 123, "startTime": "<string>", "endTime": "<string>" } '
{}
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?