- NAME
-
- gcloud network-connectivity spokes delete - delete a spoke
- SYNOPSIS
-
-
gcloud network-connectivity spokes deleteSPOKE[--async] [--global|--region=REGION] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- Delete the specified spoke.
- EXAMPLES
- To delete a spoke named
in themyspokeregion, run:us-central1gcloud network-connectivity spokes delete myspoke --region = us-central1 - POSITIONAL ARGUMENTS
-
- Spoke resource - Name of the spoke to delete. This represents a Cloud resource.
(NOTE) Some attributes are not given arguments in this group but can be set in
other ways.
To set the
projectattribute:- provide the argument
spokeon the command line with a fully specified name; - provide the argument
--projecton the command line; - set the property
core/project.
To set the
locationattribute:- provide the argument
spokeon the command line with a fully specified name; - provide the argument
--globalon the command line; - provide the argument
--regionon the command line.
This must be specified.
-
SPOKE - ID of the spoke or fully qualified identifier for the spoke.
To set the
spokeattribute:- provide the argument
spokeon the command line.
- provide the argument
- provide the argument
- Spoke resource - Name of the spoke to delete. This represents a Cloud resource.
(NOTE) Some attributes are not given arguments in this group but can be set in
other ways.
- FLAGS
-
-
--async - Return immediately, without waiting for the operation in progress to complete.
- At most one of these can be specified:
-
--global - Indicates that the spoke is global.
-
--region=REGION - A Google Cloud region. To see the names of regions, see Viewing a list of available regions .
-
-
- 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 helpfor details. - API REFERENCE
- This command uses the networkconnectivity/v1 API. The full documentation for this API can be found at: https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest
- NOTES
- These variants are also available:
gcloud alpha network-connectivity spokes deletegcloud beta network-connectivity spokes delete
gcloud network-connectivity spokes delete
Except 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.

