- NAME
-
- gcloud config configurations delete - deletes a named configuration
- SYNOPSIS
-
-
gcloud config configurations deleteCONFIGURATION_NAMES[CONFIGURATION_NAMES…] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
Deletes a named configuration. You cannot delete a configuration that is active,
even when overridden with the --configuration flag. To delete the current active
configuration, first
gcloud config configurations activateanother one.See
gcloud topic configurationsfor an overview of named configurations. - EXAMPLES
-
To delete an existing configuration named
my-config, run:gcloud config configurations delete my-configTo delete more than one configuration, run:
gcloud config configurations delete my-config1 my-config2To list existing configurations, run:
gcloud config configurations list - POSITIONAL ARGUMENTS
-
CONFIGURATION_NAMES[CONFIGURATION_NAMES…]- Name of the configuration to delete. Cannot be currently active configuration.
- 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. - NOTES
-
These variants are also available:
gcloud alpha config configurations deletegcloud beta config configurations deletegcloud preview config configurations delete
gcloud config configurations 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 2025-05-07 UTC.