How to change password using REST API

Hi everyone,

I am newbie to CUBA platform. May I know how to code change/update password using REST API and its method is PUT.


Hi @muhammadsyamil

You can create a custom endpoint as described here in the docs, load your User entity and update its password attribute. The stored password must be encoded: inject the bean into your controller and use its encode() method.