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

Authorization

Descope Project ID and Management Key
AuthorizationBearer <token>

Project ID:Management Key as bearer token.

In: header

Request Body

application/json

id?string
name*string
Length1 <= length <= 254
description?string
Lengthlength <= 100000
enabled?boolean
logo?string
Lengthlength <= 2097152
loginPageUrl?string
useMetadataInfo?boolean
metadataUrl?string

Must not resolve to an internal or private address.

entityId?string
Lengthlength <= 10000
acsUrl?string
certificate?string
Lengthlength <= 1000000
attributeMapping?array<SAMLIDPAttributeMappingInfo>
groupsMapping?array<SAMLIDPGroupsMappingInfo>
acsAllowedCallbacks?array<string>
string
subjectNameIdType?string
Lengthlength <= 150
subjectNameIdFormat?string
defaultRelayState?string
Lengthlength <= 10000
forceAuthentication?boolean
logoutRedirectUrl?string
errorRedirectUrl?string
defaultSignatureAlgorithm?string
customAttributes?object

Custom attributes as key-value pairs. Keys must be strings; values can be strings, numbers, booleans, or arrays.

Example{ "attribute-key": "attribute-value" }
darkLogo?string
Lengthlength <= 2097152
assignedRoleIds?array<string>
string

assignedRoleIds lists project-level roles that grant access to this application. A user holding any of them can access it, in addition to users assigned directly or through their tenant. Additive: it never removes access, so it only changes the outcome for projects that deny applications by default. Tenant scoped roles are rejected.

singleLogoutEnabled?boolean

SAML Single Logout (SLO). When on, the app's SP can log the user out with a signed LogoutRequest, and the app is sent a LogoutRequest, naming the user by the app's NameID, when a logout reaches the user's apps (the user's own logout of all devices, a force logout when the app's notifyOnForceLogout is on, or another app's logout that propagates). Every app with single logout on that the user can sign in to is sent one, including apps the user hasn't signed in to; limit that with the user's app assignments. A logout without a browser (the user's own logout of all devices, a force logout) reaches only apps with the 'soap' binding. Off by default. An update without it turns single logout off.

spSingleLogoutUrl?string

The SP's SingleLogoutService URL. Required when single logout is on and the app is configured manually; empty takes it from the SP metadata. With the 'soap' binding, must not resolve to an internal or private address.

spSingleLogoutBinding?string

The binding of spSingleLogoutUrl: 'redirect', 'post' or 'soap' (server to server, https only). Default (empty): with spSingleLogoutUrl, 'redirect'; without it, from the SP metadata ('soap' when it offers an https SOAP endpoint, else 'redirect', else 'post'). A binding set without spSingleLogoutUrl picks the SP metadata endpoint with that binding.

singleLogoutPropagation?string

What a logout the app's SP starts reaches: 'none' (default) only ends the user's session and notifies no other app, 'allApps' also logs the user out of their other apps (OIDC apps only when every session ended).

singleLogoutScope?string

Which Descope sessions a logout the app's SP starts ends: 'session' (default) the sessions the LogoutRequest's SessionIndex values name, 'allSessions' every session of the user. With 'session', a LogoutRequest with no SessionIndex, or with one Descope didn't issue, ends the browser's Descope session when the browser has one for the user, else every session of the user its NameID names; one with several SessionIndex values that aren't all Descope's ends every session of the user. A visit to the logout URL without a LogoutRequest always ends every session of the user.

notifyOnForceLogout?boolean

Whether a Force Logout of the user (the Console's, or Logout User from All Devices in this API) sends the app a LogoutRequest. Needs single logout with the 'soap' binding, since a force logout has no browser. Off (default): a force logout doesn't notify the app.

Update SAML Application within a project

This endpoint updates a SAML Application within your Descope project.

See Also

curl -X POST "https://api.descope.com/v1/mgmt/sso/idp/app/saml/update" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
Was this helpful?