Authorization 头中令牌所绑定的会话。使用同一令牌的后续请求将返回 401。成功响应后请在客户端丢弃该令牌。
方法: POST 路径: /api/auth/logout 认证: 会话 Bearer
请求
无请求体。响应
204 No Content。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
吊销请求中 Bearer 令牌所绑定的会话。收到 204 响应后请在客户端丢弃该令牌。
Authorization 头中令牌所绑定的会话。使用同一令牌的后续请求将返回 401。成功响应后请在客户端丢弃该令牌。
方法: POST 路径: /api/auth/logout 认证: 会话 Bearer
204 No Content。
curl -X POST \
-H "Authorization: Bearer eyJhbGciOi..." \
https://ariacompute.cn/api/auth/logout
| 状态 | 含义 |
|---|---|
401 | 缺失或无效的会话令牌。 |
Was this page helpful?