PUT
/
v2
/
destination-calendars
curl --request PUT \
  --url https://api.cal.com/v2/destination-calendars \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "integration": "apple_calendar",
  "externalId": "https://caldav.icloud.com/26962146906/calendars/1644422A-1945-4438-BBC0-4F0Q23A57R7S/",
  "delegationCredentialId": "<string>"
}'
{
  "status": "success",
  "data": {
    "userId": 123,
    "integration": "<string>",
    "externalId": "<string>",
    "credentialId": 123
  }
}

Headers

Authorization
string
required

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

Body

application/json

Response

200 - application/json

The response is of type object.