post https://api.frontegg.com/identity/resources/users/v1/passwords/change
This route changes the password for a logged-in user. Send the frontegg-user-id
and frontegg-tenant-id
headers to declare which user and which tenant. Send the current and new passwords in the POST body.