Logout of SAML completely Added in 7.14.0

POST /_security/saml/complete_logout

Verifies the logout response sent from the SAML IdP.

application/json

Body Required

  • realm string Required

    The name of the SAML realm in Elasticsearch for which the configuration is used to verify the logout response.

  • If the SAML IdP sends the logout response with the HTTP-Redirect binding, this field must be set to the query string of the redirect URI.

  • content string

    If the SAML IdP sends the logout response with the HTTP-Post binding, this field must be set to the value of the SAMLResponse form parameter from the logout response.

Responses

POST /_security/saml/complete_logout
curl \
 -X POST http://api.example.com/_security/saml/complete_logout \
 -H "Content-Type: application/json" \
 -d '{"realm":"string","":"string","query_string":"string","content":"string"}'
Request examples
{
  "realm": "string",
  "": "string",
  "query_string": "string",
  "content": "string"
}