Disconnecting all 3rd Party Apps for a user

24 views
Skip to first unread message

Don Beck

unread,
Jan 16, 2026, 11:04:17 AM (5 days ago) Jan 16
to GAM for Google Workspace
I ran this command but it errored out saying expected ClientID

gam user na...@domain.com delete tokens

Since clientid is specific to the app, how to I change this command to remove them all?

Thanks
Don

Don Beck

unread,
Jan 16, 2026, 11:06:09 AM (5 days ago) Jan 16
to GAM for Google Workspace
and as a followup question - if I have one app I want to disconnect across the domain, what command would accomplish that?

Don Beck

unread,
Jan 16, 2026, 11:44:06 AM (5 days ago) Jan 16
to GAM for Google Workspace
Ok I figured out my first question - 2 commands
gam redirect csv ./userapps.csv user na...@domain.com print tokens
this prints all the tokens to the csv
gam csv ./userapps.csv gam user ~user delete tokens clientId ~clientId
this deletes them all

Still looking for a command to delete a token across my domain

Ross Scroggs

unread,
Jan 16, 2026, 12:05:36 PM (5 days ago) Jan 16
to google-ap...@googlegroups.com
How about:
gam all users delete tokens clientId ~clientId

Ross

PLEASE NOTE
The information in this E-Mail message is legally privileged and confidential information intended only for the use of the individual(s) named above.  If you, the reader of this message, are not the intended recipient, you are hereby notified that you should not further disseminate, distribute, or forward this E-mail message.  If you have received this E-mail in error, please notify the sender. Thank you!

--
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/dd3f4066-d70c-45c1-9fcb-8beea10e3c18n%40googlegroups.com.


--
Reply all
Reply to author
Forward
0 new messages