---
title: "Logout All Sessions"
method: POST
path: "/auth/sessions/logout-all"
tags: ["authentication"]
---

# Logout All Sessions

`POST /auth/sessions/logout-all`

## Request

- Base URL: `https://api.codeofpaper.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.codeofpaper.com/auth/sessions/logout-all`
- Auth: HTTP bearer

Logout from all devices by invalidating all sessions.

Useful if user suspects their account has been compromised.

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/codeofpaper/apis/code-of-paper-dev-api.md) · [All operations](https://skmtc.dev/codeofpaper/apis/code-of-paper-dev-api/llms.txt) · [OpenAPI document](https://skmtc.dev/codeofpaper/apis/code-of-paper-dev-api/revisions/94ea47fd4aa1?raw)
