gcloud compute networks delete (original) (raw)
gcloud compute networks delete
NAME
gcloud compute networks delete - delete Compute Engine networks
SYNOPSIS
gcloud compute networks delete [NAME](#NAME) [[NAME](#NAME) …] [[GCLOUD_WIDE_FLAG](#GCLOUD-WIDE-FLAGS) …]
DESCRIPTION
gcloud compute networks delete deletes one or more Compute Engine networks. Networks can only be deleted when no other resources (e.g., virtual machine instances) refer to them.
EXAMPLES
To delete a network with the name 'network-name', run:
gcloud compute networks delete network-nameTo delete two networks with the names 'network-name1' and 'network-name2', run:
gcloud compute networks delete network-name1 network-name2POSITIONAL ARGUMENTS
NAME [NAME …]
Names of the networks to delete.
GCLOUD WIDE FLAGS
These flags are available to all commands: [--access-token-file](/sdk/gcloud/reference#--access-token-file),[--account](/sdk/gcloud/reference#--account), [--billing-project](/sdk/gcloud/reference#--billing-project),[--configuration](/sdk/gcloud/reference#--configuration),[--flags-file](/sdk/gcloud/reference#--flags-file),[--flatten](/sdk/gcloud/reference#--flatten), [--format](/sdk/gcloud/reference#--format), [--help](/sdk/gcloud/reference#--help), [--impersonate-service-account](/sdk/gcloud/reference#--impersonate-service-account),[--log-http](/sdk/gcloud/reference#--log-http),[--project](/sdk/gcloud/reference#--project), [--quiet](/sdk/gcloud/reference#--quiet), [--trace-token](/sdk/gcloud/reference#--trace-token), [--user-output-enabled](/sdk/gcloud/reference#--user-output-enabled),[--verbosity](/sdk/gcloud/reference#--verbosity).
Run $ [gcloud help](/sdk/gcloud/reference) for details.
NOTES
These variants are also available:
gcloud alpha compute networks deletegcloud beta compute networks deletegcloud preview compute networks deleteExcept as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.