Skip to main content

Update a calendar

PUT 

/api/calendars/:id

Changes a calendar's name, color, feed URL, visibility, notification setting, or default status, and returns the calendar. The owner can change name, color, and, on subscribed calendars only, icsUrl, which triggers an immediate sync whose result is returned in sync. A holiday calendar (holidayId is set) rejects icsUrl with 400. enabled shows or hides the calendar in the web UI (CalDAV is not affected); on a shared calendar it only changes the caller's own view. notifyEnabled applies only to calendars shared with the caller and turns change notifications on or off. isDefault: true makes one of the owner's local calendars the default for new events; it is handled on its own, so other fields in the same request are ignored, and isDefault: false is rejected. The owner and users the calendar is shared with may call it; a field the caller may not change returns 404, and a request without any known field returns 400.

Request​

Responses​

Updated calendar.