Replaces an existing identity provider (IdP) configuration
Use this endpoint to update the configuration of the specified IdP.
type, domain, and (for Auth0 IdPs) tenant are immutable after creation and can't be changed. You don't need to include them in the request body, but if you do, their values must match the values used to create the IdP — sending a different value returns a 400 error.
IdP type. This property is immutable after it's created. It's not required, but if you include it in a request body, it must match the value that was used when you originally created the IdP. A different value returns an HTTP 400 error.
The Okta org domain (or custom domain, if you've configured one). This property is immutable after it's created. It's not required, but if you include it in a request body, it must match the value that was used when you originally created the IdP. A different value returns an HTTP 400 error.
- https://oag.domain.tldhttps://oag.domain.tld/api/v2/idps/{idpId}
curl -i -X PUT \
'https://oag.domain.tld/api/v2/idps/{idpId}' \
-H 'Content-Type: application/json' \
-d '{
"type": "IDP_OKTA",
"name": "My Okta IdP",
"description": "Okta identity provider",
"domain": "idp.company.com",
"apiToken": "<api-token>"
}'IdP updated successfully
{ "id": "10229d53-cb73-44b2-89b0-740f679b29b9", "type": "IDP_OKTA", "name": "My Okta IdP", "description": "Okta identity provider", "domain": "idp.company.com", "tenant": "company.okta.com", "validationStatus": { "valid": true, "permissions": { … } } }