two-factor-auth-config-controller
Verify and save 2FA account config (verifyAndSaveTwoFaAccountConfig)
Checks the verification code for submitted config, and if it is correct, saves the provided account config.
Returns whole account's 2FA settings object. Will throw an error (Bad Request) if the provider is not configured for usage.
Available for any authorized user.
post/api/2fa/account/config
Query parameters
verificationCodestring
Request body
Response
OK