Problem
A user is deleted from Google Workspace but the event that they created remains active on other user Calendar's.
Environment
- Google Calendar
Solution
When an event organizer deletes an event, the event disappears from invitee's calendars. To remove an event with no organizer from every attendee's calendar, a Super Admin can manually delete each event from every invitee's calendar. Or, contact each invitee and ask them to delete the event from their own calendars.
If all invitee's are internal users, the Admin can use Calendar API Events
To get the event ID
If all invitee's are internal users, the Admin can use Calendar API Events
- Delete to delete the events without having to individually subscribe to each guest calendar.
- Use the Calendar API - Events:delete method.
- Under Request parameters, add:
- calendarId: email address of the user invited to the event.
- eventId: add the event ID that you need to cancel.
- sendNotifications: optional you can leave it blank.
- sendUpdates: optional you can leave it blank.
- Click Execute.
To get the event ID
- Open Google Calendar with the following link.
- Click the event.
- Click the three vertical dots at the top right, near to the X.
- Click Troubleshooting info.
- The Event ID is right after Event{eid= until the first underscore ( _ ) or comma ( , ).
Cause
The events with no organizer are generated if the Admin does not cancel future events of users before deleting their accounts.