gcloud auth revoke [ACCOUNTS …] [–all] [GCLOUD_WIDE_FLAG …]
Revokes credentials for the specified user accounts or service accounts. When you revoke the credentials, they are removed from the local machine. If no account is specified, this command revokes credentials for the currently active account, effectively logging out of that account.
You can revoke credentials when you want to disallow access by gcloud and other Cloud SDK tools using a specified account. You don’t need to revoke credentials to switch between accounts.
kwame@r2d2:~$ gcloud auth revoke firstname.lastname@example.org Revoked credentials: - email@example.com Credentialed Accounts ACTIVE ACCOUNT * firstname.lastname@example.org kwame@r2d2:~$ kwame@r2d2:~$ gcloud auth list Credentialed Accounts ACTIVE ACCOUNT * email@example.com To set the active account, run: $ gcloud config set account `ACCOUNT` kwame@r2d2:~$