resetPassword()

Description

Endpoint to reset the user password. The user will receive an email prompting him to change the existing password by following a URL. Note that you need to have a reset password URL specified in authentication settings in order for this endpoint to work.

Request

Parameters

FieldRequiredData TypeDescription

email

string

User email

Example

await client.auth().resetPassword('example@example.com')

Response

No content

Example

{}

Last updated