gcloud compute os-login remove-profile [GCLOUD_WIDE_FLAG …]
gcloud compute os-login remove-profile removes the posix account
information for the current user where the account ID field is set to the
current project ID. Posix account entries for G Suite users do not set the
account ID field and can only be modified by a domain administrator.
gcloud compute os-login remove-profile
To remove all POSIX accounts associated with the current user in the project
named example-project, run:
gcloud compute os-login remove-profile --project=example-project--access-token-file,
--account, --billing-project,
--configuration,
--flags-file,
--flatten, --format, --help, --impersonate-service-account,
--log-http,
--project, --quiet, --trace-token, --user-output-enabled,
--verbosity.
Run $ gcloud help for details.
gcloud alpha compute os-login remove-profilegcloud beta compute os-login remove-profile
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.