Verify 2FA installation
PUT
/v2/user/mfa/verify_installationLast modified: 3 days ago
This endpoint is integral to the Two-Factor Authentication (2FA) setup process.
Once the user initiates 2FA enablement and receives a verification code (via SMS OTP or TOTP),
this endpoint serves to validate the successful installation of the chosen 2FA method.
Users must submit the received code to confirm and complete the 2FA activation process.
Successful verification ensures a secure and accurate integration of 2FA for enhanced account security.
Request
Query Params
method
enum<string>
required
2FA method (sms, totp)
Allowed values:
smstotp
otp_attempt
string
required
Verification code
Request samples
Responses
OK(200)
Unauthorized(401)
Parameter Error(422)
HTTP Code: 200
Content Type : JSONapplication/json
2FA verified
Data Schema
object {0}
Example
sms_success
{
"status": "verified"
}
Last modified: 3 days ago