Skip to main content

Delete IAM Policy

Deletes a policy. This action is permanent.

External Documentation

To learn more, visit the GCP documentation.

Basic Parameters

ParameterDescription
Parent IDThe ID of the parent resource to access.For organizations and folders, must be the numeric ID.For projects, can be the alphanumeric or numeric ID.All action responses contain the numeric ID.
Parent TypeWhich type of parent resource to access.
Policy IDName of the policy to access. Can be retrieved using the "List IAM Policies" action.

Advanced Parameters

ParameterDescription
EtagOptional. The expected etag of the policy to delete. If the value does not match the value that is stored in IAM, the request fails with a 409 error code and ABORTED status. If you omit this field, the policy is deleted regardless of its current etag.

Example Output

{
"done": false,
"error": {
"code": 0,
"details": [
{}
],
"message": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client."
},
"metadata": {},
"name": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.",
"response": {}
}

Workflow Library Example

Delete Iam Policy with Gcp and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop