How to change the password of a logged user using the mobile provider
POST https://mburger.cloud/api/change-password
curl https://mburger.cloud/api/change-password -X POST -H "Accept: application/json" -H "Content-Type: application/x-www-form-urlencoded" -H "X-MBurger-Token: <token>" -H "X-MBurger-Version: 3" -H "Authorization: Bearer <JWT>" -d '<data>'
Name
Type
Required
Description
old_password
string
Yes
The old password
new_password
The new password
email
The user email
When successful, a HTTP 200 and JSON like this is returned:
{ "status_code": 0 }
Last updated 4 years ago