Skip to Content

Update Password

Change the current user’s password.

PUT /api/user/password

Request Body

{ "currentPassword": "oldpassword123", "newPassword": "newpassword123" }
PropertyTypeRequiredDescription
currentPasswordstringyesThe current password of the user.
newPasswordstringyesThe new password for the user.

Response

{ "data": [], "status": "OK", "code": 200, "timestamp": 1234567890, "meta": {} }

The passwords are automatically hashed before being stored in the database.