Sending a temporary security code
If a user’s credential is lost or stolen, use the SendTemporaryPassword for Email OTP API to generate and send a temporary security code to the user email address.
The system-generated, temporary security code is sent in an email message, and is valid for one use only. The temporary security code must be used before the specified expiration time (up to seven days). See SendTemporaryPassword for Email OTP request for details on setting, expiring, and clearing temporary passwords.