updateEmailOrPassword(input: {userId: string, email?: string, password?: string})
#
ParametersuserId
- type:
string
- type:
email
(Optional)- type:
string
- This is the new email to update to.
- type:
password
(Optional)- type:
string
- This is the new password to update to.
- type:
#
ReturnsPromise<{
status: "OK" | "EMAIL_ALREADY_EXISTS_ERROR" | "UNKNOWN_USER_ID_ERROR";
}>