Update an identity provider
How to update an existing identity provider via API
To update an existing identity provider, send a PATCH
request to the /api/identity_providers/:id
endpoint, where id
is the ID of the resource that you want to update.
Here below the list of all the possible arguments that you can pass with the request body.
Request
PATCH https://provisioning.commercelayer.io/api/identity_providers/:id
Arguments
type
string
Required
id
string
Required
attributes.name
string
Optional
attributes.client_id
string
Optional
attributes.client_secret
string
Optional
attributes.issuer
string
Optional
attributes.domains
string
Optional
attributes.token_url
string
Optional
attributes.authorize_url
string
Optional
attributes.jwks_url
string
Optional
attributes.organization
string
Optional
attributes.reference
string
Optional
attributes.reference_origin
string
Optional
attributes.metadata
object
Optional
attributes._disable
boolean
Optional
attributes._enable
boolean
Optional
Example
The following request updates the identity provider identified by the ID "xYZkjABcde":
Last updated