curl --request POST \
--url https://api.cal.com/v2/calendars/{calendar}/disconnect \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"id": 10
}'{
"status": "success",
"data": {
"id": 123,
"type": "<string>",
"userId": 123,
"teamId": 123,
"appId": "<string>",
"invalid": true
}
}curl --request POST \
--url https://api.cal.com/v2/calendars/{calendar}/disconnect \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"id": 10
}'{
"status": "success",
"data": {
"id": 123,
"type": "<string>",
"userId": 123,
"teamId": 123,
"appId": "<string>",
"invalid": true
}
}value must be Bearer <token> where <token> is api key prefixed with cal_ or managed user access token
apple, google, office365 Credential ID of the calendar to delete, as returned by the /calendars endpoint
10
Was this page helpful?