Update Calendar Connection
PATCH/api/calendar/connections/:connection
Change a connection's settings. All fields are optional:
integrations:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
crm_calendar_id: write CRM activities to this calendar (one of the writable calendars on the account). Choosing it clears the CRM calendar on the user's other connections, and SKU.io moves its existing events (a background resync).create_dedicated:truecreates a new "SKU visits" calendar and uses it. Only possible when the account granted SKU.io permission to create calendars (can_create_dedicated); otherwise 422.import_customer_meetings: import calendar events whose attendees include a customer contact as meeting activities on that customer. Personal events are never imported.show_busy: read other events as anonymous busy time (no titles) for My Day and slot suggestions.falseremoves the stored busy time.
Returns 404 when the connection does not belong to the authenticated user.
Authentication: Requires Bearer token.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.