> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete IAM Policy

Deletes a policy. This action is permanent.

<Note>
  External Documentation

  To learn more, visit the [GCP documentation](https://cloud.google.com/iam/docs/reference/rest/v2beta/policies/delete).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter   | Description                                                                                                                                                                                                                  |
  | ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Parent ID   | The ID of the parent resource to access.<br /><br />For organizations and folders, must be the numeric ID.<br />For projects, can be the alphanumeric or numeric ID.<br /><br />All action responses contain the numeric ID. |
  | Parent Type | Which type of parent resource to access.                                                                                                                                                                                     |
  | Policy ID   | Name of the policy to access. Can be retrieved using the "List IAM Policies" action.                                                                                                                                         |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter | Description                                                                                                                                                                                                                                                         |
  | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Etag      | Optional. 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`. |
</div>

## Example Output

```json theme={"dark"}
{
	"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](https://library.blinkops.com/workflows/delete-iam-policy-with-gcp-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/delete-iam-policy-with-gcp-and-send-results-via-email/canvas" />
</div>
