Skip to Content
ZITADEL Docs
APIsCore ResourcesV1Organization Objects

UpdateOrgIDPOIDCConfig

PUT
/management/v1/idps/{idp_id}/oidc_config

Path Parameters

idp_id*idp_id

Request Body

application/json
  1. body
clientId*client_id
clientSecret?client_secret
issuer*issuer
scopes?array<string>
displayNameMapping?username_mapping
Value in"OIDC_MAPPING_FIELD_UNSPECIFIED""OIDC_MAPPING_FIELD_PREFERRED_USERNAME""OIDC_MAPPING_FIELD_EMAIL"
usernameMapping?username_mapping
Value in"OIDC_MAPPING_FIELD_UNSPECIFIED""OIDC_MAPPING_FIELD_PREFERRED_USERNAME""OIDC_MAPPING_FIELD_EMAIL"

Response Body

Success

application/json
  1. response
details?
Example Request
curl -X PUT 'https://example.com/management/v1/idps/string/oidc_config' \  -H 'Content-Type: application/json' \  -d '{  "clientId": "string",  "issuer": "string"}'
Example Response200
{  "details": {    "sequence": 0,    "creationDate": "2023-01-15T01:30:15.01Z",    "changeDate": "2023-01-15T01:30:15.01Z",    "resourceOwner": "string"  }}

Was this page helpful?