---
title: "Cleanup Expired Sessions"
method: DELETE
path: "/auth/sessions/cleanup"
tags: ["authentication"]
---

# Cleanup Expired Sessions

`DELETE /auth/sessions/cleanup`

## 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/cleanup`
- Auth: HTTP bearer

Clean up expired sessions for current user.

Deletes all sessions that have passed their expiration time.

## 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)
