---
title: "Logout"
method: POST
path: "/user/logout"
tags: ["auth"]
---

# Logout

`POST /user/logout`

Destroys the current session and clears the refresh token cookie.

## Response `200`

Successfully logged out.

- ModelsMessage
  - `message` string — A standard message.

## Changes

- **2026-02-25** `178e954cbae0` — 1 info
  - endpoint added
- **2025-07-28** `d7c1f946dc48` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/go-vikunja/apis/vikunja-api/changes/user/logout/post.md)

---

[API](https://skmtc.dev/go-vikunja/apis/vikunja-api.md) · [All operations](https://skmtc.dev/go-vikunja/apis/vikunja-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/go-vikunja/vikunja-api/revisions/29fd8a828331/schema)
