Membatalkan validasi Permintaan Persetujuan yang ada. Menampilkan ApprovalRequest yang diperbarui.
CATATAN: Tindakan ini tidak akan menolak akses ke resource jika permintaan lain telah dibuat dan disetujui. Hal ini hanya membatalkan satu persetujuan.
Menampilkan FAILED_PRECONDITION jika permintaan ada tetapi tidak dalam status yang disetujui.
Permintaan HTTP
POST https://accessapproval.googleapis.com/v1/{name=organizations/*/approvalRequests/*}:invalidate
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2024-04-24 UTC."],[[["\u003cp\u003eThis endpoint invalidates an existing \u003ccode\u003eApprovalRequest\u003c/code\u003e, returning the updated request, but it does not deny access if another request has been approved.\u003c/p\u003e\n"],["\u003cp\u003eA \u003ccode\u003ePOST\u003c/code\u003e request is made to the specified URL to invalidate an ApprovalRequest, and the URL uses gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e path parameter, representing the ApprovalRequest to invalidate, is required and requires specific IAM permission.\u003c/p\u003e\n"],["\u003cp\u003eThe request body for this operation must be empty.\u003c/p\u003e\n"],["\u003cp\u003eA successful response includes an instance of \u003ccode\u003eApprovalRequest\u003c/code\u003e in the response body and the operation requires \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: organizations.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=organizations/*/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/)."]]