patch https://elastic.messangi.me/eyriesgate/v1/2fa//codes
Once the code has been generated and sent to the user via SMS, Email or WhatsApp, you proceed to validate the verification code.
When the user enters the security code to your application, you can carry out the following actions :
- Verify the security code to validate the user.
- Cancel the security code.
- Check the Status of the security code.
In this API call you need to provide the unique identifier (“data.id”
) of the code generator and the unique identifier (“data.requestId”
) of the 2FA request previously created.