gcloud config configurations delete Stay organized with collections Save and categorize content based on your preferences.
- 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 activeconfiguration, first
gcloud configconfigurations activateanother one.See
gcloud topicconfigurationsfor an overview of named configurations. - EXAMPLES
- To delete an existing configuration named
my-config, run:gcloudconfigconfigurationsdeletemy-configTo delete more than one configuration, run:
gcloudconfigconfigurationsdeletemy-config1my-config2To list existing configurations, run:
gcloudconfigconfigurationslist - 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:
gcloudalphaconfigconfigurationsdeletegcloudbetaconfigconfigurationsdeletegcloudpreviewconfigconfigurationsdelete
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.