auth v2

Reset password with phone OTP.

Changed on

Reset password using phone number OTP

post/phone-number/reset-password

Request

  • Base URL: https://api.openfort.io/iam/v2/auth
  • URL: https://api.openfort.io/iam/v2/auth/phone-number/reset-password
  • Auth: HTTP bearer and API key in header x-project-key

Request body

otpstring required

The one time password to reset the password. Eg: "123456"

phoneNumberstring required

The phone number to the account which intends to reset the password for. Eg: "+1234567890"

newPasswordstring required

The new password. Eg: "new-and-secure-password"

Response

Password reset successfully

statusboolean required

Indicates whether the password was successfully reset

Changes

    • info

      the endpoint scheme security auth_token AND projectKey was added to the API

    • info

      the endpoint scheme security bearerAuth was removed from the API

    • info

      api tag auth v2 added

    • info

      api tag Phone-number removed