Required. The resource name of the policy to delete. Format: policies/{attachmentPoint}/denypolicies/{policyId}
Use the URL-encoded full resource name, which means that the forward-slash character, /, must be written as %2F. For example, policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy.
For organizations and folders, use the numeric ID in the full resource name. For projects, you can use the alphanumeric or the numeric ID.
Query parameters
Parameters
etag
string
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.
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Operation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-21 UTC."],[[["\u003cp\u003eThis webpage details the process for permanently deleting a policy using an HTTP DELETE request.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a specific URL format, utilizing gRPC Transcoding syntax, including the policy's resource name within the URL.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e path parameter is mandatory and requires the URL-encoded full resource name of the policy.\u003c/p\u003e\n"],["\u003cp\u003eAn optional \u003ccode\u003eetag\u003c/code\u003e query parameter can be used to ensure the policy's version matches before deletion, preventing conflicts.\u003c/p\u003e\n"],["\u003cp\u003eA successful deletion results in a response body containing an \u003ccode\u003eOperation\u003c/code\u003e instance, while an empty request body is required.\u003c/p\u003e\n"]]],[],null,[]]