POST
/v1/mgmt/sso/idp/app/saml/create

Create SAML Application within a project

This endpoint creates a SAML Application within your Descope project.

See Also

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<ProjectId:ManagementKey\>

Try it

/v1/mgmt/sso/idp/app/saml/create

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

< Project ID >:< Management Key > as bearer

In: header

Request Body

idstring

namestring

descriptionstring

enabledboolean

logostring

loginPageUrlstring

useMetadataInfoboolean

metadataUrlstring

entityIdstring

acsUrlstring

certificatestring

attributeMappingarray<object>

groupsMappingarray<object>

acsAllowedCallbacksarray<string>

subjectNameIdTypestring

subjectNameIdFormatstring

defaultRelayStatestring

forceAuthenticationboolean

logoutRedirectUrlstring

errorRedirectURLstring

Status codeDescription
200OK
curl -X POST "https://api.descope.com/v1/mgmt/sso/idp/app/saml/create" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <ProjectId:ManagementKey>" \
  -d '{
  "id": "string",
  "name": "string",
  "description": "string",
  "enabled": true,
  "logo": "string",
  "loginPageUrl": "string",
  "useMetadataInfo": true,
  "metadataUrl": "string",
  "entityId": "string",
  "acsUrl": "string",
  "certificate": "string",
  "attributeMapping": [
    {
      "name": "string",
      "type": "string",
      "value": "string"
    }
  ],
  "groupsMapping": [
    {
      "name": "string",
      "type": "string",
      "filterType": "string",
      "value": "string",
      "roles": [
        {
          "id": "string",
          "name": "string"
        }
      ]
    }
  ],
  "acsAllowedCallbacks": [
    "string"
  ],
  "subjectNameIdType": "string",
  "subjectNameIdFormat": "string",
  "defaultRelayState": "string",
  "forceAuthentication": true,
  "logoutRedirectUrl": "string",
  "errorRedirectURL": "string"
}'

{
  "id": "string"
}

Was this helpful?