Modify user password

Basic Information

Modify user password

请求路径

  1. PUT /openapi/v1/users/{user_id}/changepwd

Body请求参数

  1. {
  2. "user_id": 0,
  3. "password": "stringst",
  4. "password1": "stringst"
  5. }

request parameters

nameLocationtyperequiredillustrate
user_idpathstringYesnone
bodybodyChangePassWdUsernonone

back to example

return result

status codeStatus code meaningillustratedata model
200OKsuccessChangePassWdUser

Model

changepasswduser

  1. {
  2. "user_id": 0,
  3. "password": "stringst",
  4. "password1": "stringst"
  5. }

Attributes

nametyperequiredconstraintChinese nameillustrate
user_idintegertruenoneUser iduser_id
passwordstringtruenonePasswordnew password
password1stringtruenonePassword1Confirm the new password again