To delete a new ingress project network policy that targets all user workloads, allowing only TCP traffic on Port 80 and 81, run:
gdcloud network project-network-policy delete example-policy
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-04-17 UTC."],[[["This command `gdcloud network project-network-policies delete` is used to delete project network policies."],["The command requires specifying the `POLICY_NAME` as an argument for deletion."],["An example provided demonstrates deleting a network policy named `example-policy`."],["Common flags that can be used with all gdcloud commands are listed, such as `--configuration`, `--format`, and `--project`."]]],[]]