Last updated 10 months ago
Update user password without password reset email flow.
Make sure you send userToken is passed to createClient() method as this request always requires authorization. Read more about authorization.
userToken
createClient
await client.auth().updatePassword('qwerty12345', 'not-qwerty12345')
No content
{}
oldPassword
string
Old user password
newPassword
New password for the user