gcloud beta compute networks delete - delete Compute Engine networks
gcloud beta compute networks delete NAME [NAME ...] [GCLOUD_WIDE_FLAG ...]
(BETA) gcloud beta 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.
To delete a network with the name 'network-name', run:
$ gcloud beta compute networks delete network-name
To delete two networks with the names 'network-name1' and 'network-name2', run:
$ gcloud beta compute networks delete network-name1 network-name2
- NAME [NAME ...]
Names of the networks to delete.
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 beta and might change without notice. These variants are also available:
$ gcloud compute networks delete
$ gcloud alpha compute networks delete