gcloud alpha storage folders delete

NAME
gcloud alpha storage folders delete - delete folders
SYNOPSIS
gcloud alpha storage folders deleteURLS[URLS …][--additional-headers=HEADER=VALUE][GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Delete folders.
EXAMPLES
The following command deletes a folder namedfolder in ahierarchical namesapce bucket calledmy-bucket:
gcloudalphastoragefoldersdeletegs://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 listof key=value pairs, e.g.header1=value1,header2=value2. Overridesthe defaultstorage/additional_headers property value for thiscommand 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 help for details.

NOTES
This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. This variant is also available:
gcloudstoragefoldersdelete

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.