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
INDICATEURS FACULTATIFS
--log-http Log all HTTP server requests and responses to stderr.
OPTIONS GCLOUD GÉNÉRALES
Ces options sont disponibles pour toutes les commandes : --configuration, --format, --help, --project, --quiet.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/04 (UTC)."],[[["\u003cp\u003eThe \u003ccode\u003egdcloud storage buckets delete\u003c/code\u003e command is used to delete one or more storage buckets.\u003c/p\u003e\n"],["\u003cp\u003eYou can delete multiple buckets at once by listing their names after the command.\u003c/p\u003e\n"],["\u003cp\u003eYou can specify a non-default project for bucket deletion using the \u003ccode\u003e--project\u003c/code\u003e flag.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--log-http\u003c/code\u003e flag allows logging of HTTP requests and responses to stderr.\u003c/p\u003e\n"],["\u003cp\u003eThe command can utilize gdcloud wide flags such as \u003ccode\u003e--configuration\u003c/code\u003e, \u003ccode\u003e--format\u003c/code\u003e, \u003ccode\u003e--help\u003c/code\u003e, \u003ccode\u003e--project\u003c/code\u003e, and \u003ccode\u003e--quiet\u003c/code\u003e.\u003c/p\u003e\n"]]],[],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/gdch/resources/gdcloud-reference/gdcloud) page."]]