The following command deletes a bucket named my-bucket under the default project:
gdcloud storage buckets delete my-bucket
The following command deletes two buckets, one named my-bucket and a second bucket named my-other-bucket:
gdcloud storage buckets delete my-bucket my-other-bucket
The following command deletes a bucket under a project with ID my-project-id:
gdcloud storage buckets delete my-bucket --project=my-project-id
選用旗標
--log-http Log all HTTP server requests and responses to stderr.
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-05 (世界標準時間)。"],[],[],null,["# gdcloud storage buckets delete\n\nNAME\n----\n\ngdcloud storage buckets delete - Delete storage buckets.\n\nSYNOPSIS\n--------\n\n gdcloud storage buckets delete BUCKET_NAME [ BUCKET_NAME ...]\n [--project=PROJECT_ID]\n [--format=FORMAT]\n [--log-http] [flags]\n\nDESCRIPTION\n-----------\n\nDelete one or more storage buckets.\n\n### EXAMPLES\n\n The following command deletes a bucket named my-bucket under the default project:\n\n gdcloud storage buckets delete my-bucket\n\n The following command deletes two buckets, one named my-bucket and a second bucket named my-other-bucket:\n\n gdcloud storage buckets delete my-bucket my-other-bucket\n\n The following command deletes a bucket under a project with ID my-project-id:\n\n gdcloud storage buckets delete my-bucket --project=my-project-id\n\n### OPTIONAL FLAGS\n\n --log-http Log all HTTP server requests and responses to stderr.\n\n### GDCLOUD WIDE FLAGS\n\nThese flags are available to all commands: `--configuration`, `--format`, `--help`, `--project`, `--quiet`.\n\nFor more information, see the [gdcloud CLI reference overview](/distributed-cloud/hosted/docs/latest/appliance/resources/gdcloud-reference/gdcloud) page."]]