gcloud compute os-login remove-profile

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-profile removes 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-profile

To remove all POSIX accounts associated with the current user in the projectnamedexample-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 help for details.

NOTES
These variants are also available:
gcloudalphacomputeos-loginremove-profile
gcloudbetacomputeos-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.