Q:

How to clean the list of recent users via Google API?

I've been searching Google API reference but didn't manage to find any way to clean the list of recent users.
I use logout API call ('https://www.google.com/accounts/Logout?continue=https://appengine.google.com/_ah/logout') but the next time I start logging in, I see the previous accounts.
Every time I have to click "Sign in with different account" and remove previous users manually. I would like to clean this list after I use logout call. Is there any way to do that? Thanks in advance!

A:

I have found two ways of solving the problem:
1. Always uncheck Stay signed in checkbox when signing in.
2. Disable Account Chooser by navigating to https://www.google.com/accounts/optintoaccountchooser?optout=1
You can re-enable Account Chooser by navigating the same link without "?optout=1" parameter.
Source article: https://techjourney.net/disable-google-choose-an-account-sign-in-page/

