Unable to reset the user's password using REST API

Kindly help on the below;

I am seeking help for this. but no luck.

unable to change the user’s password using RESTAPI
I have tried to change the user’s password but getting the below error

403Forbidden

{
“error”: “unknown_error”
}

If any additional information required. i will provide. kindly help