POST /calendars/{calendarId}/clear
Changed onClears a primary calendar. This operation deletes all events associated with the primary calendar of an account.
Request
- Base URLhttps://www.googleapis.com/calendar/v3
- URLhttps://www.googleapis.com/calendar/v3/calendars/{calendarId}/clear
- Auth
- OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/calendarAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/calendar
- or OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/calendar.calendarsAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/calendar.calendars
Path parameters
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.
Response
Successful response
Changes
- info
the security scope
https://www.googleapis.com/auth/calendarwas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/calendarwas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/calendar.calendarswas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/calendar.calendarswas removed from the endpoint's security schemeOauth2c
- info
- info
the security scope
https://www.googleapis.com/auth/calendarwas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/calendarwas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/calendar.calendarswas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/calendar.calendarswas removed from the endpoint's security schemeOauth2c
- info