---
title: "User logout"
method: POST
path: "/auth/logout"
tags: ["auth"]
---

# User logout

`POST /auth/logout`

Invalidates the user's token and logs them out.

## Response `200`

OK

- MessageResponse
  - `message` string

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.net/loxilb-io/apis/loxilb-rest-api.md) · [All operations](https://skmtc.net/loxilb-io/apis/loxilb-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/loxilb-io/loxilb-rest-api/revisions/45e9f0a95af0/schema)
