v1

latestOpenAPI 3.0.02026-08-0610682246.0 KB
Authentication

Log out of the user account

Logs out of the user account.

post/blaize/logout

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"
}