This route recovers MFA for a non logged-in user. Send the user’s email and a recovery code as params in the POST body. The recovery code comes from the MFA authenticator app when you set up MFA.
curl -i -X POST \
https://api.frontegg.com/identity/resources/auth/v1/user/mfa/recover \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"recoveryCode": "string",
"email": "string"
}'