---
title: "Logout"
method: POST
path: "/api/v1/auth/logout"
tags: ["authentication"]
---

# Logout

`POST /api/v1/auth/logout`

## Request

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

Revoke refresh token + blacklist current access token, clear cookies.

## Request body

- RefreshTokenRequest: Body for POST /auth/refresh. `refresh_token` is optional - if omitted, the endpoint reads the `refresh_token` cookie (browser flow). API clients pass it in the body.
  - `refresh_token` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/fless/apis/apartment-hunting-platform.md) · [All operations](https://skmtc.dev/fless/apis/apartment-hunting-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/fless/apis/apartment-hunting-platform/revisions/f542b37a2fcf?raw)
