---
title: "Logout"
method: POST
path: "/api/v1/auth/logout"
---

# Logout

`POST /api/v1/auth/logout`

## Request

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

End this session (M10): the refresh token it holds stops working and
the browser's cookies are cleared. The same answer whatever was sent: a
token that is unknown, expired or already spent leaves nothing to end.

Until M10 signing out only emptied the browser's storage and the refresh
token stayed good for its fourteen days.

## Request body

- RefreshRequest
  - `refresh` string, nullable

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/trovastorage/apis/stock-your-inventory.md) · [All operations](https://skmtc.dev/trovastorage/apis/stock-your-inventory/llms.txt) · [OpenAPI document](https://skmtc.dev/trovastorage/apis/stock-your-inventory/revisions/c75f591a585c?raw)
