认证

重置密码

用户重置自己的密码

post/auth/reset-password

Request

  • Base URL
    https://localhost:2333/api/v1
  • URL
    https://localhost:2333/api/v1/auth/reset-password
  • Auth
    API key in header Authorization

Request body

newPasswordstring required
oldPasswordstring required

Response

密码重置成功

codeinteger
messagestring
requestIdstring
successboolean
timestampstring

Example response

{
  "code": 200,
  "message": "操作成功",
  "requestId": "550e8400-e29b-41d4-a716-446655440000",
  "success": true,
  "timestamp": "2023-01-01T12:00:00Z"
}

Changes

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