Logout of SAML Added in 7.5.0
Submits a request to invalidate an access token and refresh token.
Body Required
-
The access token that was returned as a response to calling the SAML authenticate API. Alternatively, the most recent token that was received after refreshing the original one by using a refresh_token.
-
refresh_token string
The refresh token that was returned as a response to calling the SAML authenticate API. Alternatively, the most recent refresh token that was received after refreshing the original access token.
POST /_security/saml/logout
curl \
-X POST http://api.example.com/_security/saml/logout \
-H "Content-Type: application/json" \
-d '{"token":"string","refresh_token":"string"}'
Request examples
{
"token": "string",
"refresh_token": "string"
}
Response examples (200)
{
"redirect": "string"
}