cURL
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_, managed user access token, or OAuth access token
Bearer <token>
<token>
apple
google
office365
Credential ID of the calendar to delete, as returned by the /calendars endpoint
10
success
error
"success"
Show child attributes
Was this page helpful?