gcloud alpha compute shared-vpc associated-projects remove - disassociate the given project from the given shared VPC host project
gcloud alpha compute shared-vpc associated-projects remove PROJECT_ID --host-project=HOST_PROJECT [GCLOUD_WIDE_FLAG ...]
(ALPHA) Disassociate the given project from the given shared VPC host project.
To remove the project service-project as an associated shared VPC service project of the shared VPC host project host-project, run:
$ gcloud alpha compute shared-vpc associated-projects remove \ --host-project=host-project service-project
- PROJECT_ID
ID for the project to remove from the host project
- --host-project=HOST_PROJECT
The XPN host to remove the associated project from
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 shared-vpc associated-projects remove
$ gcloud beta compute shared-vpc associated-projects remove