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

# Logout

`GET /api/auth/logout`

# Errors
Returns an error if session operations fail.

## Response `200`

Successfully logged out

- LogoutResponse — Response for successful logout
  - `message` string, required — Logout confirmation message

## Changes

- **2025-09-24** `ad76e6bdf403` — 2 info
  - the endpoint scheme security `bearerAuth AND cookieAuth` was added to the API
  - the endpoint scheme security `cookieAuth` was removed from the API
- **2025-09-02** `6b9ec811d483` — 1 info
  - the endpoint scheme security `cookieAuth` was added to the API
- **2025-09-01** `a2488be8a6e4` — 1 info
  - the endpoint scheme security `bearerAuth AND cookieAuth` was removed from the API

[Change history](https://skmtc.dev/patroninc/apis/patron-api/changes/api/auth/logout/get.md)

---

[API](https://skmtc.dev/patroninc/apis/patron-api.md) · [All operations](https://skmtc.dev/patroninc/apis/patron-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/patroninc/patron-api/revisions/1583b1f4c97d/schema)
