用户管理

修改密码

修改当前用户的登录密码。成功后撤销此前签发的登录 JWT,客户端须使用新密码重新登录;独立 API Token 不受影响。

put/user/password

Request

  • Base URL
    http://localhost:8888/api/v1
  • URL
    http://localhost:8888/api/v1/user/password
  • Auth
    API key in header Authorization

Request body

newPasswordstring required
oldPasswordstring required

Response

修改成功

codeinteger
dataunknown
messagestring
msgstring

Changes

No recorded changes to this operation across all 122 revisions of this API.