The POST /environments/{environmentId}/applications operation adds a new application resource to the specified environment. If you set the protocol attribute to SAML, you must provide values for the following SAML settings:

Base application data model (SAML application)

Property Required? Type
enabled Y Boolean
name Y String
description N String
type Y One of: WEB_APP, CUSTOM_APP
protocol Y One of: OPENID_CONNECT, SAML
homePageUrl N URL
loginPageUrl N URL
icon
id N UUID
href N URL

Additional SAML settings

Property Required? Type
spEntityID Y String
acsUrls Y One or more URLS
assertionDuration Y Integer
defaultTargetUrl N URL
sloBinding N One of: HTTP_REDIRECT, HTTP_POST; default HTTP_POST
sloEndpoint N URL
sloResponseEndpoint N URL
responseSigned N Boolean
assertionSigned N Boolean
idpSigning
key
algorithm N String
spEncryption
algorithm N String
certificates
– -- id N UUID
spVerification
authnRequestSigned N Boolean
certificates
– -- id N One or more UUIDs