Orgs / Users / OOO
Update ooo entry of a user
Getting Started
Platform / Cal Provider
Platform / Managed Users
Platform / Webhooks
Orgs / Attributes
Orgs / Attributes / Options
Orgs / Delegation Credentials
Orgs / Event Types
Orgs / Memberships
Orgs / Orgs
Orgs / Schedules
Orgs / Teams
Orgs / Teams / Bookings
Orgs / Teams / Memberships
Orgs / Teams / Routing forms / Responses
Orgs / Teams / Schedules
Orgs / Users / OOO
Orgs / Webhooks
Api Keys
Bookings
- GETGet all bookings
- POSTCreate a booking
- GETGet a booking
- POSTReschedule a booking
- POSTCancel a booking
- POSTMark a booking absence
- POSTAutomatically reassign booking to a new host
- POSTReassign a booking to a specific user
- POSTConfirm booking that requires a confirmation
- POSTDecline booking that requires a confirmation
- GETGet 'Add to Calendar' links for a booking
Calendars
Conferencing
Destination Calendars
Event Types
Event Types / Webhooks
OAuth Clients
Schedules
Selected Calendars
Slots
Stripe
Teams / Event Types
Teams / Memberships
Timezones
Orgs / Users / OOO
Update ooo entry of a user
PATCH
/
v2
/
organizations
/
{orgId}
/
users
/
{userId}
/
ooo
/
{oooId}
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"
}'
Body
application/json
The start date and time of the out of office period in ISO 8601 format in UTC timezone.
Example:
"2023-05-01T00:00:00.000Z"
The end date and time of the out of office period in ISO 8601 format in UTC timezone.
Example:
"2023-05-10T23:59:59.999Z"
Optional notes for the out of office entry.
Example:
"Vacation in Hawaii"
The ID of the user covering for the out of office period, if applicable.
Example:
2
the reason for the out of office entry, if applicable
Available options:
unspecified
, vacation
, travel
, sick
, public_holiday
Example:
"vacation"
Was this page helpful?
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"
}'