POST
Confirm 2FA setup (v2)

Authorizations

Authorization
string
header
required

The user's access token from authentication. The program and environment come from the token.

Headers

x-program-id
string
required

Identifies the program. Can also be sent as the programId query parameter.

Body

application/json
totpCode
string
required
Required string length: 6

Response

2FA enabled

success
boolean
Example:

true

data
object