post https://{tenant}/myaccount/api/v1/password
You can change the password of the authenticated account by calling this endpoint.
To use this endpoint, the "Allow customers to change their password" option must be turned on in the Self-service policy settings.