POST
/v1/auth/idp/sso/logout

Request Body

application/json

app?string
Lengthlength <= 100
SAMLRequest?string

SAML Single Logout (descope/etc#19980): a LogoutRequest from the SP, or a LogoutResponse from an SP Descope sent a LogoutRequest to, over the HTTP-Redirect or HTTP-POST binding

Defaultfalse
Lengthlength <= 100000
SAMLResponse?string
Defaultfalse
Lengthlength <= 100000
RelayState?string
Lengthlength <= 100000
SigAlg?string
Lengthlength <= 1000
Signature?string
Lengthlength <= 10000

IDP SSO Logout from the session and delete the session and refresh cookies. For a SAML app with Single Logout on, it also takes a SAML LogoutRequest (and the LogoutResponses of a front-channel logout) over the HTTP-Redirect (GET) or HTTP-POST (POST) binding, and answers with a signed LogoutResponse.

curl -X POST "https://api.descope.com/v1/auth/idp/sso/logout" \  -H "Content-Type: application/json" \  -d '{}'
{  "value": "string"}
export interface Response {/** * The HTML page that carries a SAML message over the HTTP-POST binding, empty for a redirect */value?: string}
Was this helpful?