sendResetPasswordEmailCode
suspend fun SignIn.sendResetPasswordEmailCode(emailAddressId: String? = null): ClerkResult<SignIn, ClerkErrorResponse>
Sends a password reset code to one of the user's email addresses.
Return
A ClerkResult containing the updated SignIn object on success, or a ClerkErrorResponse on failure. When emailAddressId is null, fails without contacting Clerk if there is no such factor. An explicit emailAddressId is sent as given.
Parameters
emailAddressId
The ID of the email address, from a reset_password_email_code factor in SignIn.supportedFirstFactors. When null, the first such factor is used, whichever email address it belongs to; use sendResetPasswordCode to pick the factor by its email address.