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

# Logout user

`POST /auth/logout`

End the current user session.

## Response `200`

Successfully logged out

## Other responses

- `401` — Unauthorized

## Changes

- **2024-10-02** `cf59c28790e6` — 1 info
  - api operation id `backend.api.AuthView.logout` was added
- **2024-10-02** `c9062e3a3c54` — 1 info
  - endpoint added
- **2024-10-02** `936529d30a41` — 1 breaking
  - api path removed without deprecation
- **2024-08-18** `a7b6e8158088` — 1 info
  - endpoint added
- **2024-06-04** `578e8efc5755` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/pai-os/apis/personal-artificial-intelligence-operating-system-pai-os-api/changes/auth/logout/post.md)

---

[API](https://skmtc.dev/pai-os/apis/personal-artificial-intelligence-operating-system-pai-os-api.md) · [All operations](https://skmtc.dev/pai-os/apis/personal-artificial-intelligence-operating-system-pai-os-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pai-os/personal-artificial-intelligence-operating-system-pai-os-api/revisions/3c144b366e19/schema)
