- gcloud alpha auth revoke - revoke access credentials for an account
gcloud alpha auth revoke [ACCOUNTS ...] [--all] [GCLOUD_WIDE_FLAG ...]
(ALPHA) Revokes credentials for the specified user accounts or service
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.
- [ACCOUNTS ...]
Accounts whose credentials are to be revoked.
Revoke credentials for all accounts.
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you will have to apply for early access and have your projects registered on the API whitelist to use it. To do so, contact Support at cloud.google.com/support These variants are also available:
- $ gcloud auth revoke $ gcloud beta auth revoke