cURL
curl --request DELETE \ --url https://api.cal.com/v2/teams/{teamId}/users/{userId}/ooo/{oooId} \ --header 'Authorization: <authorization>'
{ "status": "success", "data": { "userId": 2, "id": 2, "uuid": "e84be5a3-4696-49e3-acc7-b2f3999c3b94", "start": "2023-05-01T00:00:00.000Z", "end": "2023-05-10T23:59:59.999Z", "toUserId": 2, "notes": "Vacation in Hawaii", "reason": "vacation" } }
If accessed using an OAuth access token, the TEAM_SCHEDULE_WRITE scope is required.
TEAM_SCHEDULE_WRITE
value must be Bearer <token> where <token> is api key prefixed with cal_, managed user access token, or OAuth access token
Bearer <token>
<token>
success
error
"success"
Show child attributes
Was this page helpful?