绑定邮箱
简介
此接口用于更改用户绑定的邮箱,因为邮箱的特殊性,必须通过激活邮件来确认绑定。因此以此接口来进行绑定请求的发起。
请求
绑定邮箱
POST /v1/user/newemail
Headers
属性
值
Content-Type
application/json
Authorization
Bearer {access_token}
Body
属性
类型
描述
必填
string
用户邮箱
是
Response
{
"success": true,
"status": "verification_email_sent"
}{
"success": false,
"status": "same_email"
}属性
类型
描述
success
string
请求是否成功
status
string
请求标识
Last updated
Was this helpful?