Method: updateIapSettings

Updates the IAP settings on a particular IAP protected resource. It replaces all fields unless the updateMask is set.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. The resource name of the IAP protected resource.

Query parameters


string (FieldMask format)

The field mask specifying which IAP settings should be updated. If omitted, the all of the settings are updated. See

A comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of IapSettings.

Response body

If successful, the response body contains an instance of IapSettings.

Authorization Scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.

Try it!