重置密码/设置密码
开发中
POST
/api/user/resetPassword
请求参数
Body 参数application/json
scene
string
场景
type
string
类型
account
string
手机/邮箱
code
string
验证码
password
string
密码
password_confirm
string
确认密码
示例
{
"scene": "string",
"type": "string",
"account": "string",
"code": "string",
"password": "string",
"password_confirm": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/user/resetPassword' \
--header 'Content-Type: application/json' \
--data-raw '{
"scene": "string",
"type": "string",
"account": "string",
"code": "string",
"password": "string",
"password_confirm": "string"
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}