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
The response is of type object
.
Was this page helpful?