Soft-disable a calendar
Changed onDisables a calendar by setting visibility=inactive instead of deleting the row. The row persists and is hidden from default list/detail queries.
Authorization rules (enforced after org-scoping):
- BUNDLE calendar: caller must be an org admin. Non-admin members receive 403.
- Non-bundle calendar (PERSONAL/RESOURCE/VIRTUAL): caller must own the calendar (CalendarOwnership) or be an org admin. Non-owner non-admins receive 403.
Bundle semantics: disabling a bundle sets only the bundle calendar inactive. Child calendars, bundle events, and their representation BlockedTimes/events are deliberately left untouched (event cancellation is out of scope).
Request
- The document declares no server URL.
- Auth: one of:
- HTTP bearer
- API key in cookie sessionid
Path parameters
Headers
Selects the active organization for this request. Optional for callers that belong to exactly one active organization — the single membership is resolved implicitly. Required when the caller has two or more active memberships; omitting it in that case returns 400. If the header names an organization the caller is not an active member of, the server returns 403.
Response
No response body
Changes
- ○
added the new optional
headerrequest parameterX-Organization-Id
- ○
- ○
endpoint added
- ○