Verify MFA Passcode
Verify MFA Passcode
Use this endpoint to verify the MFA passcode entered by the user during setup. Must be called after initiating setup and before enabling MFA.
POST
Verify MFA Passcode
Authorizations
The authorization token in the 'Bearer ' format.
Path Parameters
The unique identifier of the user you want to retrieve.
Body
application/json
Information required to verify an MFA passcode during setup.
The OTP passcode to verify.
Required string length:
6 - 8The type of MFA being verified.
Available options:
app, email, sms The TOTP secret (required for app-based MFA).
ISO 3166-1 alpha-2 country code (e.g. "BR", "US"). Used to resolve the phone number for SMS MFA. Not a dial prefix (+55).
Response
MFA passcode verified successfully.

