Remove current password and create another one

The POST /v2/restorePasswordOTP API endpoint enables users to securely reset their password using a One-Time Password (OTP) sent to their registered email. This process ensures that only authorized users can initiate a password change.

Purpose:

  • Initiating the password reset process using an OTP.
  • Validating the provided OTP to ensure the user’s identity.
  • Allowing the user to set a new password after OTP validation.

Response:

If the OTP is valid and the password reset process is successful, the API will return a success message. If the OTP is invalid, expired, or if the email address does not match any records, an error will be returned.

Key Features:

  • OTP-Based Security: Ensures that only users with access to their registered email can initiate the password reset, enhancing security.
  • Secure Password Reset: Users can reset their password through a secure process that verifies their identity using the OTP.
  • Error Handling: Provides clear error messages for invalid OTPs or unrecognized email addresses, helping users troubleshoot issues.
  • Password Strength: It’s recommended that new passwords meet security requirements, such as a minimum length and complexity, to further protect user accounts.
Language
Credentials
Bearer
JWT
Click Try It! to start a request and see the response here!