Authentication

Log out of the user account

Logs out of the user account.

post/blaize/logout

Request

  • Base URL: https://demo-site
  • URL: https://demo-site/blaize/logout
  • Auth: one of:
    • API key in cookie blaize_session
    • API key in query parameter jwt
    • API key in header x-blaize-jwt
    • API key in header x-zephr-jwt
    • HTTP bearer
    • API key in cookie blaize_jwt

Headers

cookiestring

The session cookie.

Request body

wherestring

An enum of describing which sessions/devices to log out of.

Options are JUST_HERE, THIS_DEVICE, OTHER_DEVICES, EVERYWHERE. These options are only valid when Single Sign-On is configured. When SSO is configured as autoLogin, then the default behaviour is THIS_DEVICE. When SSO is configured as optIn, then the default behaviour is JUST_HERE. JUST_HERE is not a valid option when SSO is configured as autoLogin.

Example request

{
  "where": "EVERYWHERE"
}

Response

OK

messagestring

Example response

{
  "message": "Session deleted"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.