updateEmail()

Description

Update the user email.

Request

Make sure you send userToken is passed to createClient() method as this request always requires authorization. Read more about authorization.

Parameters

FieldRequiredData TypeDescription

email

string

User email

Example

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

Response

No content

Example

{}

Last updated

Copyright © 2023 Deskree Technologies Inc.