Skip to main content
updateCalendarListEntry patches preferences that apply only to the connected user’s view of a calendar.

Example

Inputs

calendar is required. Provide at least one of backgroundColor, foregroundColor (#RRGGBB), hidden, selected, summaryOverride, up to five defaultReminders ({ method: string; minutes: number }), or replacement notifications using the types listed on Add calendar to list. account selects the Google account.

Output

Returns the updated calendar-list Calendar. Arrays replace their respective settings; pass [] to remove all custom reminders or notifications.