gcloud alpha compute os-login remove-profile - remove the posix account information for the current user
gcloud alpha compute os-login remove-profile [--operating-system=OPERATING_SYSTEM; default="linux"] [GCLOUD_WIDE_FLAG ...]
(ALPHA) gcloud alpha 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.
To remove all POSIX accounts associated with the current user and project, run:
$ gcloud alpha compute os-login remove-profile
To remove all POSIX accounts associated with the current user in the project named example-project, run:
$ gcloud alpha compute os-login remove-profile \ --project=example-project
- --operating-system=OPERATING_SYSTEM; default="linux"
Specifies the profile type to remove. OPERATING_SYSTEM must be one of: linux, windows.
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.
This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist. These variants are also available:
$ gcloud compute os-login remove-profile
$ gcloud beta compute os-login remove-profile