Post Two Factor Verify Backup Code
Verify a backup code for two-factor authentication
Authentication
AuthorizationBearer
Bearer token authentication
Request
This endpoint expects an object.
code
A backup code to verify. Eg: “123456”
disableSession
If true, the session cookie will not be set.
trustDevice
If true, the device will be trusted for 30 days. It’ll be refreshed on every sign in request within this time. Eg: true
Response
Backup code verified successfully
user
The authenticated user object with two-factor details
session
The current session object, included unless disableSession is true
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error