Set 2FA Secret
POST/profile/twofactorauthentication_secret
Sets 2FA Secret. Enabling 2FA is a two step process:
- Call this endpoint to generate a secret. The response contains the secret and a qrcode
- Call the Enable 2FA endpoint with a TOTP Token (generated off the above secret)
Responses
- 200
- 401
- 403
- 409
- 500
Success
Unauthorized
Forbidden
Conflict
Server error.