auth

Complete login with a TOTP code

Second step of the 2FA login flow. Supply the userId from the first step and the 6-digit TOTP code.

post/auth/login/2fa

Request

  • Base URL: https://api.onplana.com/api
  • URL: https://api.onplana.com/api/auth/login/2fa
  • Auth: none required

Request body

userIdstring required
codestring required

Response

2FA verified - returns token, user, organizations

Changes

No recorded changes to this operation across all 1 revision of this API.