POST
/
v1
/
profile
/
security
/
2fa
/
enable
{
  "backup_codes": [
    "12345678",
    "87654321"
  ],
  "recovery_key": "ABCD-EFGH-IJKL-MNOP"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200 - application/json

2FA enabled successfully

The response is of type object.