curl --request PATCH \
--url https://api.cal.com/v2/organizations/{orgId}/users/{userId}/ooo/{oooId} \
--header 'Content-Type: application/json' \
--data '{
"start": "2023-05-01T00:00:00.000Z",
"end": "2023-05-10T23:59:59.999Z",
"notes": "Vacation in Hawaii",
"toUserId": 2,
"reason": "vacation"
}'
curl --request PATCH \
--url https://api.cal.com/v2/organizations/{orgId}/users/{userId}/ooo/{oooId} \
--header 'Content-Type: application/json' \
--data '{
"start": "2023-05-01T00:00:00.000Z",
"end": "2023-05-10T23:59:59.999Z",
"notes": "Vacation in Hawaii",
"toUserId": 2,
"reason": "vacation"
}'
For non-platform customers - value must be Bearer <token>
where <token>
is api key prefixed with cal_
For platform customers - OAuth client secret key
For platform customers - OAuth client ID