To delete a DBCluster custom resource with name "postgresql-db", run:
gdcloud database clusters delete postgresql-db
To delete a DBCluster custom resource with name "oracle-db" in the project "db", run:
gdcloud database clusters delete oracle-db --project=db
OPTIONAL FLAGS
--hard deletes any backups along the way.
GDCLOUD WIDE FLAGS
These flags are available to all commands: --configuration, --format, --help, --project, --quiet.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[[["\u003cp\u003eThis command \u003ccode\u003egdcloud database clusters delete\u003c/code\u003e is used to delete a DBCluster custom resource.\u003c/p\u003e\n"],["\u003cp\u003eYou must specify the \u003ccode\u003eCLUSTER_NAME\u003c/code\u003e to delete a particular DBCluster, such as \u003ccode\u003epostgresql-db\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--project\u003c/code\u003e flag allows you to specify a project if the DBCluster is not in the current default project.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--hard\u003c/code\u003e flag allows for the deletion of any backups associated with the DBCluster.\u003c/p\u003e\n"]]],[],null,["# gdcloud database clusters delete\n\nNAME\n----\n\ngdcloud database clusters delete - Delete a DBCluster custom resource.\n\nSYNOPSIS\n--------\n\n gdcloud database clusters delete CLUSTER_NAME [flags]\n\n### EXAMPLES\n\n To delete a DBCluster custom resource with name \"postgresql-db\", run:\n\n gdcloud database clusters delete postgresql-db\n\n To delete a DBCluster custom resource with name \"oracle-db\" in the project \"db\", run:\n\n gdcloud database clusters delete oracle-db --project=db\n\n### OPTIONAL FLAGS\n\n --hard deletes any backups along the way.\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."]]