Skip to main content
clearPrimaryCalendar irreversibly clears all events from the primary calendar. It cannot target a secondary calendar.

Example

Inputs

Only account is optional; it selects the Google account whose primary calendar will be cleared.

Output

Returns Signal<"primary"> after Google accepts the operation.
This permanently removes all primary-calendar events. It does not merely hide or unsubscribe from the calendar.