跳到主要内容

重置密码

POST 

/auth/v1/reset

重置某个用户的密码, 需要邮箱或手机及对应的验证码。

Request

Query Parameters

    client_id string

    应用对应的客户端id,可从云开发平台-->身份认证-->开发设置获取。默认为环境id,可以不传

Header Parameters

    x-device-id string

    设备id,当前登录设备的id。客户端应随机生成,并缓存到客户端。此参数与登录账号数有关

Body

    email string

    使用邮箱验证使用

    phone_number string

    使用手机号验证使用

    new_password string

    新密码

    verification_token string

    短信或邮箱验证码

Responses

A successful response.

Response Headers
    Schema
      any
    Loading...