Wipe events triggered email notifications

37 views
Skip to first unread message

Dhananjay Munde

unread,
Jan 13, 2026, 3:19:14 PM (8 days ago) Jan 13
to GAM for Google Workspace
Hi,

I am trying to understand if anyone else faced this similar issue, I ran a command to wipe primary calendars for the users and it triggered email notifications like declined events to respective event organizers.

Gam command - gam <UserTypeEntity> wipe events primary
Example - gam a...@xyz.com wipe events primary

Let me know if it is an expected behavior, its not mentioned anywhere on the GAM git hub that this command will trigger the notifications. 



--



Ross Scroggs

unread,
Jan 13, 2026, 3:52:28 PM (8 days ago) Jan 13
to google-ap...@googlegroups.com
Here'e the Calendat API being called: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/clear

It says nothing about sending notifications.

Ross
----
Ross Scroggs



--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-manager/627a1518-1a47-4ecb-92d2-315b53f5006fn%40googlegroups.com.

Dhananjay Munde

unread,
Jan 14, 2026, 7:50:11 AM (7 days ago) Jan 14
to GAM for Google Workspace
That's what I expect. However, GAM did triggered notifications and I am trying to understand why ? what might have went wrong, Google also doesn't support the product.

Is there any way to troubleshoot the GAM further.

--



James Masterton

unread,
Jan 14, 2026, 9:49:25 AM (7 days ago) Jan 14
to google-ap...@googlegroups.com
I would say "expected behaviour" as we run into the same issue with onboarding workflows with another product.

It only occurs for events to which the recipient hasn't RSVP'd. The process of deleting the event triggers an automatic decline, essentially so the calendar app knows that invitee is not coming and can log accordingly.

This doesn't occur when the event has already been accepted, the removal there is silent.




Please consider the environment before printing this e-mail.

Information in this message is confidential and is intended solely for the persons to whom it is addressed. If you are not the intended recipient please notify the sender and immediately delete this message from your computer.

This system may be monitored or recorded to secure the effective operation of the system and for other lawful purposes.  Please check out the Privacy Notice on our website for details.

Dhananjay Munde

unread,
Jan 14, 2026, 10:16:04 AM (7 days ago) Jan 14
to GAM for Google Workspace
Interesting! Then what's the best way to wipe primary calendar ?

I have tested another command - gam user <email> delete events primary sendnotifications false sendupdates none doit

This worked but the challenges with this one are,

1) Deleted events one by one so takes lot of time
2) Deleted WORKING_LOCATION_HOME  (I don't want this to happen for all users)
 Screenshot 2026-01-14 204334.png
Any suggestions ?

Ross Scroggs

unread,
Jan 14, 2026, 10:57:13 AM (7 days ago) Jan 14
to google-ap...@googlegroups.com
Try this: gam user <email> delete events primary eventtypes default,fromgmail sendupdates none doit

sendnotifications false sendupdates none are redundant, you only need one of them

I'll add batch processing to speed deletes up.

Ross
----
Ross Scroggs


On Jan 14, 2026, at 7:16 AM, Dhananjay Munde <mu...@pythian.com> wrote:

Interesting! Then what's the best way to wipe primary calendar ?

I have tested another command - gam user <email> delete events primary sendnotifications false sendupdates none doit

This worked but the challenges with this one are,

1) Deleted events one by one so takes lot of time
2) Deleted WORKING_LOCATION_HOME  (I don't want this to happen for all users)
Reply all
Reply to author
Forward
0 new messages