Change password
Change password routes#
Check old password#
Used to check the password before changing it
URL: /api/v1/user/myself/changePassword/checkOldPassword
Method: POST
Auth required: Yes
Data constraints
Data example
Success response#
Condition: Password is correct.
Code: 200
Content example
Error response#
Condition: Password is wrong.
Code: 400
Content example
Change password#
Used to change the password
URL: /api/v1/user/myself/changePassword/changePassword
Method: POST
Auth required: Yes
Data constraints
Data example
Success response#
Condition: Password is correct.
Code: 200
Content example
Error response#
Condition: Password is wrong.
Code: 400
Content example