---
title: "Logout"
method: POST
path: "/logout/"
---

# Logout

`POST /logout/`

## Request

- Base URL: `https://api.simple.ink` (the document declares no server; this is the origin it was published from)
- URL: `https://api.simple.ink/logout/`
- Auth: none declared

Endpoint that logs out users and cleans up auth cookies.

Because the JWT are stored in an httponly cookie now, we cannot
log the user out by simply deleting the cookie in the frontend.
We need the backend to send us a response to delete the cookies.

## Response `200`

Successful Response

- unknown

---

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