PATCH
/
v1
/
idps
/
{idp}
{
  "name": "<string>",
  "title": "<string>",
  "domain": "<string>",
  "type": "IDENTITY_PROVIDER_TYPE_UNSPECIFIED",
  "config": {
    "oauth2Config": {
      "authUrl": "<string>",
      "tokenUrl": "<string>",
      "userInfoUrl": "<string>",
      "clientId": "<string>",
      "clientSecret": "<string>",
      "scopes": [
        "<string>"
      ],
      "fieldMapping": {
        "identifier": "<string>",
        "displayName": "<string>",
        "phone": "<string>",
        "groups": "<string>"
      },
      "skipTlsVerify": true,
      "authStyle": "OAUTH2_AUTH_STYLE_UNSPECIFIED"
    },
    "oidcConfig": {
      "issuer": "<string>",
      "clientId": "<string>",
      "clientSecret": "<string>",
      "scopes": [
        "<string>"
      ],
      "fieldMapping": {
        "identifier": "<string>",
        "displayName": "<string>",
        "phone": "<string>",
        "groups": "<string>"
      },
      "skipTlsVerify": true,
      "authStyle": "OAUTH2_AUTH_STYLE_UNSPECIFIED",
      "authEndpoint": "<string>"
    },
    "ldapConfig": {
      "host": "<string>",
      "port": 123,
      "skipTlsVerify": true,
      "bindDn": "<string>",
      "bindPassword": "<string>",
      "baseDn": "<string>",
      "userFilter": "<string>",
      "securityProtocol": "SECURITY_PROTOCOL_UNSPECIFIED",
      "fieldMapping": {
        "identifier": "<string>",
        "displayName": "<string>",
        "phone": "<string>",
        "groups": "<string>"
      }
    }
  }
}

Path Parameters

idp
string
required

The idp id.

Query Parameters

updateMask
string

The list of fields to update.

Body

application/json

Response

200
application/json

OK

The response is of type object.