PATCH
/
availabilities
/
{id}
curl --request PATCH \
  --url https://api.cal.com/v1/availabilities/{id} \
  --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"
}'

Authorizations

apiKey
string
query
required

Path Parameters

id
integer
required

ID of the availability to edit

Query Parameters

apiKey
integer
required

Your API key

Body

application/json
Edit an existing availability related to one of your bookings

The body is of type object.

Response

201

OK, availability edited successfully