Skip to main content

expire-session

Definition
  • This operation allows to close a session created by either validate-credentials or parse-saml-response. If you want to get real global logout, this method invocation is not enough. You should also use the generate-saml-logout-request method.

URL
  • <console-domain>/webservice/federation/rest/expire-session

Method
  • POST

Headers
  • Accept = “application/json”

  • Content-Type = “application/json”

Authentication
Request (body JSON)
  • sessionId → session id obtained from prior parse-saml-response or validate-credentials invocation

Response (JSON)
  • sessionId → id of closed session

{
    "sessionId" : "_8164940b408c1508dfd84525a3ef568475f317085cf36e7d:rvJgZnMfsWUbQWlXdhTcVGgI3mC2qXJC..."
}