curl --request PATCH \
--url 'https://api.cal.com/v1/schedules/{id}?apiKey=' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Updated Schedule",
"timeZone": "Asia/Calcutta"
}
'{
"schedule": {
"id": 12345,
"userId": 1,
"name": "Total Testing Part 2",
"timeZone": "Asia/Calcutta",
"availability": [
{
"id": 4567,
"eventTypeId": null,
"days": [
1,
2,
3,
4,
5
],
"startTime": "09:00:00",
"endTime": "17:00:00"
}
]
}
}curl --request PATCH \
--url 'https://api.cal.com/v1/schedules/{id}?apiKey=' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Updated Schedule",
"timeZone": "Asia/Calcutta"
}
'{
"schedule": {
"id": 12345,
"userId": 1,
"name": "Total Testing Part 2",
"timeZone": "Asia/Calcutta",
"availability": [
{
"id": 4567,
"eventTypeId": null,
"days": [
1,
2,
3,
4,
5
],
"startTime": "09:00:00",
"endTime": "17:00:00"
}
]
}
}ID of the schedule to edit
Your API Key
Edit an existing schedule
OK, schedule edited successfully
Was this page helpful?