Two Factor Auth
GET
POST
Body
codestringRequiredExample:
Two-factor authentication code
123456Responses
200
Two-factor authentication enabled successfully
application/json
ResponseanyExample:
{"message":"Two-factor authentication enabled successfully","description":"Two-factor authentication has been enabled for your account."}400
Invalid two-factor authentication code
application/json
500
Internal server error
application/json
post
/2fa/enable-two-factor-authResponses
200
Two-factor authentication disabled successfully
application/json
ResponseanyExample:
{"message":"Two-factor authentication disabled successfully","description":"Two-factor authentication has been disabled for your account."}500
Internal server error
application/json
post
/2fa/disable-two-factor-authBody
codestringRequiredExample:
Two-factor authentication code
123456Responses
200
Authentication successful
application/json
400
Invalid two-factor authentication code
application/json
500
Internal server error
application/json
post
/2fa/authenticateImpersonates another user using two-factor authentication code. This endpoint is only available for admins of support team.
post
Body
userIdnumberRequiredExample:
1teamIdnumberRequiredExample:
1codestringRequiredExample:
123456Responses
200
Impersonation successful
application/json
400
Invalid two-factor authentication code
application/json
403
Access denied if user is not an admin.
application/json
404
User not found
application/json
500
Internal server error
application/json
post
/2fa/impersonateLast updated