[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2024-05-16 UTC."],[[["\u003cp\u003eThis page documents the process of invalidating an existing \u003ccode\u003eApprovalRequest\u003c/code\u003e via a \u003ccode\u003ePOST\u003c/code\u003e HTTP request.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePOST\u003c/code\u003e request is sent to a specific URL with the \u003ccode\u003ename\u003c/code\u003e parameter indicating which \u003ccode\u003eApprovalRequest\u003c/code\u003e should be invalidated.\u003c/p\u003e\n"],["\u003cp\u003eThe request body for this operation must be empty, and it returns the updated \u003ccode\u003eApprovalRequest\u003c/code\u003e upon success.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires specific IAM permissions (\u003ccode\u003eaccessapproval.requests.invalidate\u003c/code\u003e) and OAuth scopes (\u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e) for authorization.\u003c/p\u003e\n"],["\u003cp\u003eInvalidating an \u003ccode\u003eApprovalRequest\u003c/code\u003e will return \u003ccode\u003eFAILED_PRECONDITION\u003c/code\u003e if the request is not in an approved state.\u003c/p\u003e\n"]]],[],null,["# Method: folders.approvalRequests.invalidate\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n\nInvalidates an existing ApprovalRequest. Returns the updated ApprovalRequest.\n\nNOTE: This does not deny access to the resource if another request has been made and approved. It only invalidates a single approval.\n\nReturns FAILED_PRECONDITION if the request exists but is not in an approved state.\n\n### HTTP request\n\n`POST https://accessapproval.googleapis.com/v1/{name=folders/*/approvalRequests/*}:invalidate`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [ApprovalRequest](/assured-workloads/access-approval/docs/reference/rest/v1/folders.approvalRequests#ApprovalRequest).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]