---
title: "Log out of the user account"
method: POST
path: "/blaize/logout"
tags: ["Authentication"]
---

# Log 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`

Logs out of the user account.

## Headers

- `cookie` string

## Request body

- AdminUserLogoutRequest
  - `where` string: 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`.

## Response `200`

OK

- AdminUserLogoutResponse
  - `message` string

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/zuora/apis/zuora-2.md) - [All operations](https://skmtc.dev/zuora/apis/zuora-2/llms.txt) - [OpenAPI document](https://skmtc.dev/zuora/apis/zuora-2/revisions/678190d04c40?raw)
