ZITADEL Docs
APIsCore ResourcesV1Instance Objects

UpdateGenericOIDCProvider

Change an existing OIDC identity provider on the instance

PUT
/idps/generic_oidc/{id}

Path Parameters

id*string

Request Body

application/json

name?string
issuer?string
clientId?string
clientSecret?string

client_secret will only be updated if provided

scopes?scopes
providerOptions?
isIdTokenMapping?boolean
usePkce?boolean

Enable the use of Proof Key for Code Exchange (PKCE) for the OIDC flow.

[key: string]?never

Response Body

application/json

application/json

curl -X PUT "https://loading/idps/generic_oidc/string" \  -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?