---
title: "用户登出"
method: POST
path: "/auth/logout"
tags: ["认证管理"]
---

# 用户登出

`POST /auth/logout`

用户登出，撤销当前访问令牌

## Response `200`

登出成功

- ModelsSuccessResponse
  - `message` string — 成功信息

## Other responses

- `401` — 未授权
- `500` — 服务器错误

---

[API](https://skmtc.net/songloft-org/apis/songloft-api.md) · [All operations](https://skmtc.net/songloft-org/apis/songloft-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/songloft-org/songloft-api/versions/e4d4950ef665/schema)
