1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-15 09:25:44 +00:00
gcloud-help/gcloud/beta/iam/policies/delete
2022-03-01 21:43:54 +00:00

52 lines
1.6 KiB
Text

NAME
gcloud beta iam policies delete - delete a policy on the given attachment
point with the given name
SYNOPSIS
gcloud beta iam policies delete POLICY_ID
--attachment-point=ATTACHMENT_POINT --kind=KIND [--etag=ETAG]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Delete a policy on the given attachment point with the given name.
EXAMPLES
The following command deletes the IAM policy defined at the resource
project 123 of kind denypolicies and id my-deny-policy, with etag abc:
$ gcloud beta iam policies delete my-deny-policy \
--attachment-point=cloudresourcemanager.googleapis.com/\
projects/123 --kind=denypolicies --etag=abc
If etag isn't provided, the command will try to get the etag using the
calling user permissions.
POSITIONAL ARGUMENTS
POLICY_ID
Id of the policy.
REQUIRED FLAGS
--attachment-point=ATTACHMENT_POINT
Resource to which the policy is attached.
--kind=KIND
Kind of the policy.
OPTIONAL FLAGS
--etag=ETAG
Etag of the existing policy.
GCLOUD WIDE FLAGS
These flags are available to all commands: --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.
NOTES
This command is currently in beta and might change without notice. This
variant is also available:
$ gcloud alpha iam policies delete