User password update
User password update
PUT/api/admin/v1/users/self/update-passwordHeaders | |||||||||
Authorization | Bearer token | ||||||||
Accept | application/json |
Body | |||||||||
old_passwordrequired | string | Old password | |||||||
passwordrequired | string | New password | |||||||
password_confirmationrequired | string | Confirm password, to ensure the password is entered correctly |
Response | |||||||||
200 | Successful response | ||||||||
JSON
| |||||||||
401 | Authorization token is not provided or is invalid. Obtaining a token | ||||||||
422 | Returns a JSON object with an error. Validation | ||||||||
JSON
|
Example | |||||||||
JSON
|