---
title: "Logout user"
method: GET
path: "/api/auth/logout"
tags: ["Authentication"]
---

# Logout user

`GET /api/auth/logout`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/auth/logout`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/auth/logout/get.ts> (a function with typed inputs; its response is checked against the schema)

Invalidates the current authentication token and logs out the user from the system.

## Response `200`

Success message

- object
  - `message` string

---

[API](https://skmtc.dev/sponsorunited/apis/sponsorunited-api.md) - [All operations](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/revisions/cbf1ca5bff8f?raw)
