gcloud preview config configurations delete Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud preview config configurations delete - deletes a named configuration
- SYNOPSIS
gcloud preview config configurations deleteCONFIGURATION_NAMES[CONFIGURATION_NAMES…][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(PREVIEW)Deletes a named configuration. You cannot delete aconfiguration that is active, even when overridden with the --configurationflag. To delete the current active configuration, firstgcloud configconfigurations activateanother one.See
gcloud topicconfigurationsfor an overview of named configurations.- EXAMPLES
- To delete an existing configuration named
my-config, run:gcloudpreviewconfigconfigurationsdeletemy-configTo delete more than one configuration, run:
gcloudpreviewconfigconfigurationsdeletemy-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
- This command is currently in DEVELOPER PREVIEW and may change without notice. Ifthis command fails with API permission errors despite specifying the correctproject, you might be trying to access an API with an invitation-only earlyaccess allowlist. These variants are also available:
gcloudconfigconfigurationsdeletegcloudalphaconfigconfigurationsdeletegcloudbetaconfigconfigurationsdelete
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.