gcloud iam policies delete POLICY_ID --attachment-point=ATTACHMENT_POINT --kind=KIND [--etag=ETAG] [GCLOUD_WIDE_FLAG …]
123 of kind
denypolicies and id
my-deny-policy, with etag
abc:
gcloud iam policies delete my-deny-policy --attachment-point=cloudresourcemanager.googleapis.com/projects/123 --kind=denypolicies --etag=abcPOLICY_ID--attachment-point=ATTACHMENT_POINT--kind=KINDdenypolicies for deny policies.
--etag=ETAGgcloud iam
policies get. When deleting a policy, if the etag is omitted, the
policy is deleted regardless of its current etag. When updating a policy, if the
etag is omitted, the update uses the etag provided in the policy file.
--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 iam policies deletegcloud beta iam policies 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.