change user password REST API

This question is from 9 months ago and maybe it is solved right now. but I’ll send the answer to help other people who may have this question:
You have to install JWT plugin.
Then, you have to create Bearer Token by POSTing a username and password to this address:
https://example.com/wp-json/jwt-auth/v1/token

In postman, you have to insert your Bearer Token in Auth tab and change your password by posting this address:
http://example.com/wp-json/wp/v2/users/123?password=newpassword
(123 is the sample user id.)