API DocsAPI Docs
POST/api/auth/username/login
用户名登录
POST/api/auth/phone/login
手机号登录
POST/api/auth/phone/sendVerification
发送手机验证码
POST/api/auth/email/sendVerification
发送邮箱验证码
POST/api/auth/logout
用户登出
POST/api/auth/password/change
修改密码
GET/api/auth/wechat/login
微信登录
GET/api/auth/wechat/authCallback
微信授权回调
GET/api/auth/token
通用令牌检查接口
POST/api/auth/wechat/binding
绑定微信账号
POST/api/auth/email/login
邮箱验证码登录
POST/api/auth/username/login
用户名登录
POST/api/auth/phone/login
手机号登录
POST/api/auth/phone/sendVerification
发送手机验证码
POST/api/auth/email/sendVerification
发送邮箱验证码
POST/api/auth/logout
用户登出
POST/api/auth/password/change
修改密码
GET/api/auth/wechat/login
微信登录
GET/api/auth/wechat/authCallback
微信授权回调
GET/api/auth/token
通用令牌检查接口
POST/api/auth/wechat/binding
绑定微信账号
POST/api/auth/email/login
邮箱验证码登录
post/api/auth/logout
post/api/auth/logout
用户登出
Basic Information
Request Method:
post
Request URL:
https://www.lycoo.com/api/auth/logout
Tags:
用户认证
Description
注销当前用户会话,使会话令牌失效
Header Parameters
Header Parameters Explanation
Header parameters are used to pass additional information, such as authentication credentials, content type, etc.
Parameter Name | Type | Required | Example Value | Description |
---|---|---|---|---|
Authorization | string | Required | Bearer sha_1234567890abcdef... | The authentication header is used to verify the identity of API requests, containing an access token Format: Bearer {token} |
Response Example
200登出成功
{
"success": true,
"message": "string"
}
401
500