Update a SAML provider.
PUT
/api/admin/saml-providers/{id}
Code sample: Shell / cURL
curl --request PUT \ --url https://auth.example.com/api/admin/saml-providers/example \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "expectedUpdatedAt": "2026-09-02T00:00:00.000Z", "name": "Example SAML IdP", "enabled": true, "config": { "ssoUrl": "https://idp.example.com/sso" } }'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Request Body required
Section titled “Request Body required ” Media type application/json
object
expectedUpdatedAt
required
Current provider updatedAt value used for optimistic concurrency control.
string format: date-time
name
string
config
object
entityId
string
ssoUrl
string format: uri
acsUrl
string format: uri
certificate
string
metadataUrl
string format: uri
metadataXml
string
metadataRefreshPolicy
object
mode
required
URL-backed providers default to automatic when this property is omitted.
string
intervalSeconds
required
integer
nextRefreshAt
integer format: int64
lastAttemptAt
integer format: int64
lastSuccessAt
integer format: int64
consecutiveFailures
integer
sourceState
string
lastErrorCode
string
suspendedByMetadataSync
True when metadata lifecycle automation disabled the provider.
boolean
key
additional properties
nameIdFormat
string
metadataNameIdFormats
Array<string>
identityMapping
object
fieldMappingSetId
required
string
fieldMappingVersionId
string
destinationNamespace
string
destinationFieldPolicies
Per-SP release mode for every attribute in the active SAML Destination Profile.
object
key
additional properties
string
key
additional properties
attributeReleaseConsent
object
enabled
boolean
mode
string
key
additional properties
key
additional properties
enabled
Enabling requires a valid role-compatible Field Mapping Set. Disabled providers may retain no identityMapping while configuration is pending.
boolean
Example
{ "expectedUpdatedAt": "2026-09-02T00:00:00.000Z", "name": "Example SAML IdP", "enabled": true, "config": { "ssoUrl": "https://idp.example.com/sso" }}Responses
Section titled “ Responses ”Successful JSON response.
Media type application/json
object
id
required
string
name
required
string
providerType
required
string
config
required
object
entityId
string
ssoUrl
string format: uri
acsUrl
string format: uri
certificate
string
metadataUrl
string format: uri
metadataXml
string
metadataRefreshPolicy
object
mode
required
URL-backed providers default to automatic when this property is omitted.
string
intervalSeconds
required
integer
nextRefreshAt
integer format: int64
lastAttemptAt
integer format: int64
lastSuccessAt
integer format: int64
consecutiveFailures
integer
sourceState
string
lastErrorCode
string
suspendedByMetadataSync
True when metadata lifecycle automation disabled the provider.
boolean
key
additional properties
nameIdFormat
string
metadataNameIdFormats
Array<string>
identityMapping
object
fieldMappingSetId
required
string
fieldMappingVersionId
string
destinationNamespace
string
destinationFieldPolicies
Per-SP release mode for every attribute in the active SAML Destination Profile.
object
key
additional properties
string
key
additional properties
attributeReleaseConsent
object
enabled
boolean
mode
string
key
additional properties
key
additional properties
enabled
required
boolean
createdAt
string format: date-time
updatedAt
string format: date-time
Example
{ "id": "provider_123", "name": "Example SAML IdP", "providerType": "saml_idp", "config": { "entityId": "https://idp.example.com/metadata", "ssoUrl": "https://idp.example.com/sso" }, "enabled": true, "createdAt": "2026-06-19T00:00:00.000Z", "updatedAt": "2026-06-19T00:00:00.000Z"}