Create a SAML provider.
curl --request POST \ --url https://auth.example.com/api/admin/saml-providers \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "Example SAML IdP", "providerType": "saml_idp", "config": { "entityId": "https://idp.example.com/metadata", "ssoUrl": "https://idp.example.com/sso", "certificate": "-----BEGIN CERTIFICATE-----..." } }'Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
object
object
URL-backed providers default to automatic when this property is omitted.
True when metadata lifecycle automation disabled the provider.
object
Per-SP release mode for every attribute in the active SAML Destination Profile.
object
object
Defaults to true. A Field Mapping Set is required when true. When false, the provider may be registered without identityMapping and configured later from its detail page.
Example
{ "name": "Example SAML IdP", "providerType": "saml_idp", "config": { "entityId": "https://idp.example.com/metadata", "ssoUrl": "https://idp.example.com/sso", "certificate": "-----BEGIN CERTIFICATE-----..." }}Responses
Section titled “ Responses ”Successful JSON response.
object
object
object
URL-backed providers default to automatic when this property is omitted.
True when metadata lifecycle automation disabled the provider.
object
Per-SP release mode for every attribute in the active SAML Destination Profile.
object
object
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"}Successful JSON response.
object
object
object
URL-backed providers default to automatic when this property is omitted.
True when metadata lifecycle automation disabled the provider.
object
Per-SP release mode for every attribute in the active SAML Destination Profile.
object
object
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"}