Calendars: clearStay organized with collectionsSave and categorize content based on your preferences.
Clears a primary calendar. This operation deletes all events associated with the primary calendar of an account.Try it now.
Request
HTTP request
POST https://www.googleapis.com/calendar/v3/calendars/calendarId/clear
Parameters
Parameter name
Value
Description
Path parameters
calendarId
string
Calendar identifier. To retrieve calendar IDs call thecalendarList.listmethod. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.
Authorization
This request requires authorization with at least one of the following scopes:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-30 UTC."],[],[]]