Recent Posts
- (09/10) Fixing Warning: the ECDSA host key for 'github.com' differs from the key for the IP addressTAGS:Web Server Admin
- (12/26) CakePHP 3 - Getting List of Column Definitions from a Table (like schema())TAGS:CakephpCake3
- (09/14) Change Order of Loaded Behaviors in CakePHP 3TAGS:Cake3CakephpWeb ProgrammingPhp
- (05/29) CakePHP 3 - Accept JSON Header Only Working When Debug FalseTAGS:Web ProgrammingCakephpCake3
- (05/23) Remove All Events from Google Calendar (Reset Calendar)TAGS:Web ProgrammingPhp
- (11/08) Google Tag Manager (GTM) Not Firing Default PageView EventTAGS:Web ProgrammingJavascriptGoogle Tag Manager
- (10/13) In PHP, how do you get __toString() Magic Method Result without calling echo?TAGS:CakephpCake3Cakephp 13PhpWeb Programming
- (11/14) Getting output from shell_exec() at all timesTAGS:Web ProgrammingWeb Server Admin
Subscribe to my feed
MainelyDesign.com Blog
Remove All Events from Google Calendar (Reset Calendar)
Posted on 05/23/2018 at 09:29 pm by Kevin Wentworth
Viewed 20,981 times | 0 comments
I've been doing a lot of programming with the Google Calendar API lately and ran into an issue when I was ready to "go live" with the site. The Google Calendar was loaded with tons of test data! I searched around and found plenty of sites giving the same answer. The problem with the answer- it was incomplete. If you want to reset a calendar (a Google Calendar factory reset of sorts) you need to permanently delete all calendar events using calendar settings, but also you need to empty the trash!
Reset Google Calendar / Clearing All Events from Google Calendar
- On the left-hand sidebar, click the 3 vertical dots next to the calendar you want to delete all events
- Click on the option for settings
- Scroll all the way down to the bottom of the calendar settings
- Click Remove calendar > Delete > Delete permanently.
Deleted Events Have a Status of Cancelled
But they are still in your calendar! So, if you are using the calendar API, to say, pull in all events, including cancellations, then your web application won't change one bit! This is because Google Calendar only cancels the events, it doesn't delete them.
Empty the Trash!
The solution, is to empty the trash related to the calendar you just deleted/cleared/reset above. You clear the trash by:
- Click on the settings icon on the top of your calendar (not the calendar setting, but the settings for the calendar application)
- Go to Trash
- Click the text link for "empty trash"
Finally!
Cheers,
- Kevin Wentworth
Tags for Remove All Events from Google Calendar (Reset Calendar)
Comments for this Posting
No comments. Be the first to post a reply.
Sorry, comments are closed for this posting.
Please Email Kevin if you have any questions. Thanks!