To delete the global health check "hc-default", run:
gdcloud compute health-checks delete hc-default \
--global
To delete the zonal health check "hc-default", run:
gdcloud compute health-checks delete hc-default
OPTIONAL FLAGS
--global If set, the global health check object is deleted.
--zone string Zone to use for this invocation. To preset the zone flag for all commands that require it, run: "gdcloud config set core/zone ZONE". The zone flag is available only in multi-zone environments.
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-25 UTC."],[[["\u003cp\u003eThis command \u003ccode\u003egdcloud compute health-checks delete\u003c/code\u003e is used to remove health checks associated with a load balancer.\u003c/p\u003e\n"],["\u003cp\u003eYou can delete either global health checks using the \u003ccode\u003e--global\u003c/code\u003e flag or zonal health checks without the global flag.\u003c/p\u003e\n"],["\u003cp\u003eMultiple health checks can be deleted at once by listing their names after the command.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--zone\u003c/code\u003e flag is required when working within a multi-zone environment to specify the zone for the health check.\u003c/p\u003e\n"]]],[],null,["# gdcloud compute health-checks delete\n\nNAME\n----\n\ngdcloud compute health-checks delete - Delete health checks for a load balancer.\n\nSYNOPSIS\n--------\n\n gdcloud compute health-checks delete HEALTH_CHECK_NAME [HEALTH_CHECK_NAME...] [flags]\n\n### EXAMPLES\n\n To delete the global health check \"hc-default\", run:\n\n gdcloud compute health-checks delete hc-default \\\n --global\n\n To delete the zonal health check \"hc-default\", run:\n\n gdcloud compute health-checks delete hc-default\n\n### OPTIONAL FLAGS\n\n --global If set, the global health check object is deleted.\n --zone string Zone to use for this invocation. To preset the zone flag for all commands that require it, run: \"gdcloud config set core/zone ZONE\". The zone flag is available only in multi-zone environments.\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."]]