Save the SSO settings
POST /api/2.0/settings/ssov2
Request
Saves the SSO settings for the current portal.
Authorization
An API key is a token that you provide when making API calls. Include the token in a cookie parameter called asc_auth_key
.
Example: asc_auth_key=864FE52C-1C1C-469F-9308-51DAFEFE7436
.
Headers
- Accept
enum of string
Can be one of:
application/json
,text/json
,text/plain
.- Content-Type
enum of string
Can be one of:
application/json
,application/*+json
,text/json
.
Body
SSO settings request parameters
- serializeSettings
string
Serialized SSO settings
Examples
POST /api/2.0/settings/ssov2 HTTP/1.1
Accept: application/json
Content-Length: 38
Content-Type: application/json
Host: example.com
{
"serializeSettings": "some text"
}
curl --request POST \
--url https://example.com/api/2.0/settings/ssov2 \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"serializeSettings": "some text"
}'
Responses
200
SSO settings
- enableSso
boolean
Specifies if SSO is enabled or not
- idpSettings
object
- entityId
string
Entity ID
- ssoUrl
string
SSO URL
- ssoBinding
string
SSO binding
- sloUrl
string
SLO URL
- sloBinding
string
SLO binding
- nameIdFormat
string
Name ID format
- idpCertificates
array of object
List of IDP certificates
- selfSigned
boolean
Specifies if a certificate is self-signed or not
- crt
string
Certificate
- key
string
Key
- action
string
Action
- domainName
string
Domain name
- startDate
string
date-time Start date
- expiredDate
string
date-time Expiration date
- idpCertificateAdvanced
object
- verifyAlgorithm
string
Verification algorithm
- verifyAuthResponsesSign
boolean
Specifies if the signatures of the SAML authentication responses sent to SP will be verified or not
- verifyLogoutRequestsSign
boolean
Specifies if the signatures of the SAML logout requests sent to SP will be verified or not
- verifyLogoutResponsesSign
boolean
Specifies if the signatures of the SAML logout responses sent to SP will be verified or not
- decryptAlgorithm
string
Decryption algorithm
- decryptAssertions
boolean
Specifies if the assertions will be decrypted or not
- spLoginLabel
string
SP login label
- spCertificates
array of object
List of SP certificates
- selfSigned
boolean
Specifies if a certificate is self-signed or not
- crt
string
Certificate
- key
string
Key
- action
string
Action
- domainName
string
Domain name
- startDate
string
date-time Start date
- expiredDate
string
date-time Expiration date
- spCertificateAdvanced
object
- signingAlgorithm
string
Signing algorithm
- signAuthRequests
boolean
Specifies if SP will sign the SAML authentication requests sent to IdP or not
- signLogoutRequests
boolean
Specifies if SP will sign the SAML logout requests sent to IdP or not
- signLogoutResponses
boolean
Specifies if sign the SAML logout responses sent to IdP or not
- encryptAlgorithm
string
Encryption algorithm
- decryptAlgorithm
string
Decryption algorithm
- encryptAssertions
boolean
Specifies if the assertions will be encrypted or not
- fieldMapping
object
- firstName
string
First name
- lastName
string
Last name
- email
string
email Email
- title
string
Title
- location
string
Location
- phone
string
Phone
- hideAuthPage
boolean
Specifies if the authentication page will be hidden or not
- usersType
integer
int32 Users type (RoomAdmin, User, DocSpaceAdmin)
400
Settings could not be null
401
Unauthorized