Create SP configuration

Creates the SAML2 SP configuration for an organization. If sign_requests is true, an RSA key pair and X.509 certificate are auto-generated to sign AuthnRequests. Only one SP configuration per organization is allowed.

Authentication

Api-Keystring

API key of the organization. Always sent together with the Secret-Access header.

Path parameters

centralized_organization_slugstringRequired

Headers

Secret-AccessstringRequired

Request

This endpoint expects an object.
entity_idstringRequired
Entity ID URI for the SP
acs_urlstringRequired
Assertion Consumer Service URL
slo_urlstringOptional
Single Logout URL
sign_requestsbooleanOptionalDefaults to false
Whether to sign AuthnRequests
name_id_formatenumOptionalDefaults to email
Name ID format for SAML assertions
validity_daysintegerOptionalDefaults to 365
Certificate validity in days

Response

Successful Response
messagestring
Message of the response
datetimestring
Datetime of the API in ISO Format
dataobjectOptional

Errors

400
Bad Request Error
409
Conflict Error
422
Unprocessable Entity Error