Change password

Please use this (https://hapthat.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

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

Error responses

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

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