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-01-16 UTC."],[[["This webpage details the process for permanently deleting a policy using an HTTP DELETE request."],["The request requires a specific URL format, utilizing gRPC Transcoding syntax, including the policy's resource name within the URL."],["The `name` path parameter is mandatory and requires the URL-encoded full resource name of the policy."],["An optional `etag` query parameter can be used to ensure the policy's version matches before deletion, preventing conflicts."],["A successful deletion results in a response body containing an `Operation` instance, while an empty request body is required."]]],[]]