Clears a primary calendar. This operation deletes all events associated with the primary calendar of an account.
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://www.googleapis.com/calendar/v3/calendars//clear'
Response Response Example
{}
Request
Path Params
calendarId
string
required
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.