Skip to main content
PATCH
/
availabilities
/
{id}
Edit an existing availability
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>"
}
'
{}

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

days
enum<integer>[]

Array of integers depicting weekdays

Available options:
0,
1,
2,
3,
4,
5
scheduleId
integer

ID of schedule this availability is associated with

startTime
string

Start time of the availability

endTime
string

End time of the availability

Response

OK, availability edited successfully