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

apiKey
string
query
required

Path Parameters

id
integer
required

ID of the schedule to edit

Query Parameters

apiKey
string
required

Your API Key

Body

application/json
Edit an existing schedule
name
string

Name of the schedule

timeZone
string

The timezone for this schedule

Response

200
application/json
OK, schedule edited successfully

The response is of type any.