---
title: End a customer session
endpoint: POST /api/v3/users/logout
description: Revokes the session this request is authenticated with. There is no body — the token you send IS the session being ended — and it stops being accepted across the platform rather than only on this route.
---

`POST /api/v3/users/logout`

## Responses

| Status | Meaning |
| --- | --- |
| 200 | OK |
| 400 | Invalid request. |
| 401 | Bad credentials. |
| 503 | `maintenance` — full maintenance is on, and every endpoint refuses every request until it ends (`endsAt`, when it has an end). Nothing is wrong with the request and nothing was done; the same request is accepted afterwards. Told apart from any other 503 by `code`. |
