gcloud compute os-login remove-profile Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud compute os-login remove-profile - remove the posix account information for the current user
- SYNOPSIS
gcloud compute os-login remove-profile[GCLOUD_WIDE_FLAG …]
- DESCRIPTION
gcloud compute os-login remove-profileremoves the posix accountinformation for the current user where the account ID field is set to thecurrent project ID. Posix account entries for G Suite users do not set theaccount ID field and can only be modified by a domain administrator.- EXAMPLES
- To remove all POSIX accounts associated with the current user and project, run:
gcloudcomputeos-loginremove-profileTo remove all POSIX accounts associated with the current user in the projectnamed
example-project, run:gcloudcomputeos-loginremove-profile--project=example-project - GCLOUD WIDE FLAGS
- These flags are available to all commands:
--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 helpfor details. - NOTES
- These variants are also available:
gcloudalphacomputeos-loginremove-profilegcloudbetacomputeos-loginremove-profile
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-21 UTC.