---
title: "Logout and optionally invalidate all devices"
method: POST
path: "/auth/logout"
tags: ["auth"]
---

# Logout and optionally invalidate all devices

`POST /auth/logout`

## Request

- Base URL: `https://lpad-backend.stage.defi.ovh.gala.com`
- URL: `https://lpad-backend.stage.defi.ovh.gala.com/auth/logout`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/gala/apis/launchpad-backend-api/docs/auth/logout/post.ts> (a function with typed inputs; its response is checked against the schema)

Logout and optionally invalidate all devices

## Response `default`

Shared error envelope returned by the application exception filter.

- union: Global HttpException bodies use status/error/message. CustomError and unhandled exception bodies use statusCode/message. /bundle errors use status/error/message.
  - object
    - `error` true, required
    - `message` union, required
      - string
      - string[]
    - `status` integer, required: HTTP status code.
  - object
    - `message` string, required
    - `statusCode` integer, required: HTTP status code.

## Other responses

- `401`: Unauthorized - missing or invalid JWT token

---

[API](https://skmtc.dev/gala/apis/launchpad-backend-api.md) - [All operations](https://skmtc.dev/gala/apis/launchpad-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gala/apis/launchpad-backend-api/revisions/74545971be2b?raw)
