Change password

Please use this (https://YOUR-SITE.COM/mobile_api/change_password) API for accessing endpoint of user password management


Post parameters

Field Value Remarks
session_id ​Access token ID E.g. de25cc16eb00960f076...
old_password User old password E.g. 123456
new_password User new password E.g. secret123

Success response

{
    "err_code": 0,
    "code": 200,
    "message": "Password changed",
    "data": []
}

Error responses

{
    "err_code": "invalid_old_password",
    "code": 402,
    "message": "Incorrect old password value",
    "data": []
}

{
    "err_code": "invalid_new_password",
    "code": 402,
    "message": "Incorrect new password value",
    "data": []
}