Reset pin by otp and phone/username/email
PUT/identity/v2/auth/pin/reset/otp/:type
This API allows a user to reset their PIN by verifying a one-time password (OTP). The user must provide the OTP, a new PIN, and one identifier: phone number, email, or username. This endpoint is typically used when the user forgets their PIN and wants to securely set a new one.
Request
Responses
- 200
- 400
- 401
- 403
- 500
OK: The request was successful.
Bad Request - the request is malformed or invalid.
Status Unauthorized: The request requires user authentication.
Forbidden - the client is not allowed to access this resource.
Internal Server Error - an unexpected error occurred on the server.