---
title: "Changes to 退出登录：根据当前请求的 sessionId（由 JwtSessionIdFilter 注入）清理 Redis 中的登录/会话凭证，使该 JWT 事实失效。"
method: POST
path: "/api/auth/logout"
---

# Changes to 退出登录：根据当前请求的 sessionId（由 JwtSessionIdFilter 注入）清理 Redis 中的登录/会话凭证，使该 JWT 事实失效。

`POST /api/auth/logout`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 10 revisions.

- **2026-10-06** `880521a9d345`: 9 info

## Changes

- **2026-10-06** `880521a9d345`: 9 info
  - api operation id `AuthController_logout_post__api_auth_logout` was added
  - api tag `Auth` added
  - api tag `auth` removed
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - added the non-success response with the status `429`
  - added the non-success response with the status `500`
  - added the success response with the status `200`

---

[Operation](https://skmtc.dev/gdeiassistant/apis/gdeiassistant-api/docs/api/auth/logout/post.md) - [API](https://skmtc.dev/gdeiassistant/apis/gdeiassistant-api.md) - [Page](https://skmtc.dev/gdeiassistant/apis/gdeiassistant-api/changes/api/auth/logout/post)
