gcloud compute org-security-policies rules delete PRIORITY --security-policy=SECURITY_POLICY [--organization=ORGANIZATION] [GCLOUD_WIDE_FLAG …]
gcloud compute org-security-policies rules delete is used to delete
organization security policy rule.
10 in an
organization security policy with ID
123456789, run:
gcloud compute org-security-policies rules delete 10 --security-policy=123456789PRIORITY--security-policy=SECURITY_POLICY--organization=ORGANIZATION--access-token-file,
--account, --billing-project,
--configuration,
--flags-file,
--flatten, --format, --help, --impersonate-service-account,
--log-http,
--project, --quiet, --trace-token, --user-output-enabled,
--verbosity.
Run $ gcloud help for details.
gcloud alpha compute org-security-policies rules deletegcloud beta compute org-security-policies rules deletegcloud preview compute org-security-policies rules delete
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.