Schedules
Edit an existing schedule
Getting Started
Attendees
Availabilities
Booking References
Bookings
Credentials
Destination Calendars
Event Types
Memberships
Schedules
Selected Calendars
Teams
Users
Schedules
Edit an existing schedule
PATCH
/
schedules
/
{id}
curl --request PATCH \
--url https://api.cal.com/v1/schedules/{id} \
--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"
}
]
}
}
Authorizations
Path Parameters
ID of the schedule to edit
Query Parameters
Your API Key
Body
application/json
Edit an existing schedule
Name of the schedule
The timezone for this schedule
Response
200
application/json
OK, schedule edited successfully
The response is of type any
.
Was this page helpful?
curl --request PATCH \
--url https://api.cal.com/v1/schedules/{id} \
--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"
}
]
}
}