iCalendlyDeveloper Docs
Calendars

POSTDisconnect a calendar

POST/v2/calendars/{calendar}/disconnect

Request Body

application/jsonRequired
idRequiredinteger

Credential ID of the calendar to delete, as returned by the /calendars endpoint

Path Parameters

calendarRequiredstring
Value in: "apple" | "google" | "office365"

Header Parameters

AuthorizationRequiredstring

value must be Bearer <token> where <token> is api key prefixed with cal_ or managed user access token

curl -X POST "https://example.com/v2/calendars/apple/disconnect" \
  -H "Authorization: <string>" \
  -H "Content-Type: application/json" \
  -d '{
    "id": 10
  }'

{
  "status": "success",
  "data": {
    "id": 0,
    "type": "string",
    "userId": 0,
    "teamId": 0,
    "appId": "string",
    "invalid": true
  }
}