[[["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-06-17 UTC."],[[["\u003cp\u003eThis webpage details how to update IAP settings on an IAP-protected resource, replacing all fields unless \u003ccode\u003eupdateMask\u003c/code\u003e is specified.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request is a \u003ccode\u003ePATCH\u003c/code\u003e method to the URL: \u003ccode\u003ehttps://iap.googleapis.com/v1/{iapSettings.name=**}:iapSettings\u003c/code\u003e, which utilizes gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires the \u003ccode\u003eiapSettings.name\u003c/code\u003e path parameter and an optional \u003ccode\u003eupdateMask\u003c/code\u003e query parameter to specify which settings to update.\u003c/p\u003e\n"],["\u003cp\u003eThe request and response bodies both utilize an instance of the \u003ccode\u003eIapSettings\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eUpdating the IAP settings requires one of the listed IAM permissions on the \u003ccode\u003ename\u003c/code\u003e resource and the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: updateIapSettings\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\nUpdates the IAP settings on a particular IAP protected resource. It replaces all fields unless the `updateMask` is set.\n\n### HTTP request\n\n`PATCH https://iap.googleapis.com/v1/{iapSettings.name=**}:iapSettings`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [IapSettings](/iap/docs/reference/rest/v1/IapSettings).\n\n### Response body\n\nIf successful, the response body contains an instance of [IapSettings](/iap/docs/reference/rest/v1/IapSettings).\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](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nRequires **one of** the following [IAM](https://cloud.google.com/iam/docs) permissions on the `name` resource, depending on the resource type:\n\n- `iap.folders.updateSettings`\n- `iap.organizations.updateSettings`\n- `iap.projects.updateSettings`\n- `iap.web.updateSettings`\n- `iap.webServices.updateSettings`\n- `iap.webServiceVersions.updateSettings`\n- `iap.webTypes.updateSettings`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]