curl --request PUT \
--url https://api.example.com/api/identity-providers/{alias} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"display_name": "<string>",
"enabled": true,
"oidc_config": {
"authorization_url": "<string>",
"token_url": "<string>",
"client_id": "<string>",
"client_secret": "<string>",
"user_info_url": "<string>",
"issuer": "<string>",
"default_scope": "openid email profile",
"sync_mode": "INHERIT",
"validate_signature": true,
"use_jwks_url": true,
"pkce_enabled": false,
"pkce_method": "S256"
},
"saml_config": {
"single_sign_on_service_url": "<string>",
"single_logout_service_url": "<string>",
"name_id_policy_format": "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent",
"signing_certificate": "<string>",
"want_authn_requests_signed": true,
"post_binding_authn_request": true,
"post_binding_response": true,
"sync_mode": "INHERIT"
},
"mappers": [
{
"name": "<string>",
"identity_provider_mapper": "<string>",
"id": "<string>",
"config": {}
}
]
}
'