- NAME
-
- gcloud storage folders delete - delete folders
- SYNOPSIS
-
-
gcloud storage folders deleteURLS[URLS…] [--additional-headers=HEADER=VALUE] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- Delete folders.
- EXAMPLES
- The following command deletes a folder named
folderin a hierarchical namesapce bucket calledmy-bucket:gcloud storage folders delete gs://my-bucket/folder/ - POSITIONAL ARGUMENTS
-
-
URLS[URLS…] - The URLs of the folders to delete.
-
- FLAGS
-
-
--additional-headers=HEADER=VALUE - Includes arbitrary headers in storage API calls. Accepts a comma separated list
of key=value pairs, e.g.
header1=value1,header2=value2. Overrides the defaultstorage/additional_headersproperty value for this command invocation.
-
- 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 variant is also available:
gcloud alpha storage folders delete
gcloud storage folders 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.

