File: //snap/google-cloud-cli/current/help/man/man1/gcloud_org-policies_delete.1
.TH "GCLOUD_ORG\-POLICIES_DELETE" 1
.SH "NAME"
.HP
gcloud org\-policies delete \- delete an organization policy
.SH "SYNOPSIS"
.HP
\f5gcloud org\-policies delete\fR \fICONSTRAINT\fR (\fB\-\-folder\fR=\fIFOLDER_ID\fR\ |\ \fB\-\-organization\fR=\fIORGANIZATION_ID\fR\ |\ \fB\-\-project\fR=\fIPROJECT_ID\fR) [\fB\-\-etag\fR=\fIETAG\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
Deletes an organization policy.
.SH "EXAMPLES"
To delete the policy associated with the constraint 'gcp.resourceLocations' and
the Project 'foo\-project', run:
.RS 2m
$ gcloud org\-policies delete gcp.resourceLocations \e
\-\-project=foo\-project
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fICONSTRAINT\fR
Name of the org policy constraint. The list of available constraints can be
found here:
https://cloud.google.com/resource\-manager/docs/organization\-policy/org\-policy\-constraints
.RE
.sp
.SH "REQUIRED FLAGS"
.RS 2m
.TP 2m
Resource that is associated with the organization policy.
Exactly one of these must be specified:
.RS 2m
.TP 2m
\fB\-\-folder\fR=\fIFOLDER_ID\fR
Folder ID.
.TP 2m
\fB\-\-organization\fR=\fIORGANIZATION_ID\fR
Organization ID.
.TP 2m
\fB\-\-project\fR=\fIPROJECT_ID\fR
Project ID. Overrides the default \fBcore/project\fR property value for this
command invocation.
.RE
.RE
.sp
.SH "OPTIONAL FLAGS"
.RS 2m
.TP 2m
\fB\-\-etag\fR=\fIETAG\fR
The current top\-level etag of the Policy. If an etag is provided and does not
match the current etag of the Policy, deletion will fail with a concurrent
error.
.RE
.sp
.SH "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 \fB$ gcloud help\fR for details.