Skip to main content

Modify user password

Basic Information​

Modify user password

请求路径
PUT /openapi/v1/users/{user_id}/changepwd
Body请求参数
{
"user_id": 0,
"password": "stringst",
"password1": "stringst"
}

request parameters​

nameLocationtyperequiredillustrate
user_idpathstringYesnone
bodybodyChangePassWdUsernonone

back to example

return result​

status codeStatus code meaningillustratedata model
200OKsuccessChangePassWdUser

Model​

changepasswduser​

{
"user_id": 0,
"password": "stringst",
"password1": "stringst"
}

Attributes​

nametyperequiredconstraintChinese nameillustrate
user_idintegertruenoneUser iduser_id
passwordstringtruenonePasswordnew password
password1stringtruenonePassword1Confirm the new password again