gcloud config configurations delete

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, firstgcloud configconfigurations activate another one.

Seegcloud topicconfigurations for an overview of named configurations.

EXAMPLES
To delete an existing configuration namedmy-config, run:
gcloudconfigconfigurationsdeletemy-config

To delete more than one configuration, run:

gcloudconfigconfigurationsdeletemy-config1my-config2

To 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 help for details.

NOTES
These variants are also available:
gcloudalphaconfigconfigurationsdelete
gcloudbetaconfigconfigurationsdelete
gcloudpreviewconfigconfigurationsdelete

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.