verifyTwoFactor

POST https://{{host}}/api/v1/self/two_factor/verify

To verify two-factor authentication by using a code generated by app (e.g. Google Authenticator, Authy). Upon successful verification, the two_factor_passed will be set to true if it hasn’t already been.

Request Body

{"two_factor"=>"123456"}

HEADERS

KeyDatatypeRequiredDescription
Acceptstring
X-CSRFTokenstring
Content-Typestring