---
title: "Logout With Cookie Cleanup"
method: POST
path: "/auth/jwt/logout-all"
tags: ["auth"]
---

# Logout With Cookie Cleanup

`POST /auth/jwt/logout-all`

## Request

- Base URL: `https://dev.whispa.net` (the document declares no server; this is the origin it was published from)
- URL: `https://dev.whispa.net/auth/jwt/logout-all`
- Auth: none declared

Logout and clear both access and refresh token cookies.

This endpoint also revokes the refresh token in the database.

## Cookies

- `refresh_token` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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