ZITADEL Docs
APIsCore ResourcesV1Instance Objects

UpdateIDPOIDCConfig

PUT
/idps/{idp_id}/oidc_config

Path Parameters

idp_id*string

Request Body

application/json

issuer?string
clientId?string
clientSecret?string
scopes?scopes
displayNameMapping?string
Value in"OIDC_MAPPING_FIELD_UNSPECIFIED" | "OIDC_MAPPING_FIELD_PREFERRED_USERNAME" | "OIDC_MAPPING_FIELD_EMAIL"
usernameMapping?string
Value in"OIDC_MAPPING_FIELD_UNSPECIFIED" | "OIDC_MAPPING_FIELD_PREFERRED_USERNAME" | "OIDC_MAPPING_FIELD_EMAIL"
[key: string]?never

Response Body

application/json

application/json

curl -X PUT "https://loading/idps/string/oidc_config" \  -H "Content-Type: application/json" \  -d '{}'
{
  "details": {
    "sequence": 0,
    "creationDate": "1s",
    "changeDate": "1s",
    "resourceOwner": "string"
  }
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?