gcloud alpha compute os-login remove-profile

NAME
gcloud alpha compute os-login remove-profile - remove the posix account information for the current user
SYNOPSIS
gcloud alpha compute os-login remove-profile[--operating-system=OPERATING_SYSTEM; default="linux"][GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA)gcloud alpha compute os-login remove-profileremoves the posix account information for the current user where the account IDfield is set to the current project ID. Posix account entries for G Suite usersdo not set the account ID field and can only be modified by a domainadministrator.
EXAMPLES
To remove all POSIX accounts associated with the current user and project, run:
gcloudalphacomputeos-loginremove-profile

To remove all POSIX accounts associated with the current user in the projectnamedexample-project, run:

gcloudalphacomputeos-loginremove-profile--project=example-project
FLAGS
--operating-system=OPERATING_SYSTEM; default="linux"
Specifies the profile type to remove.OPERATING_SYSTEMmust be one of:linux,windows.
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
This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. These variants are also available:
gcloudcomputeos-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.