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

Request

Query parameters

verificationCodestring

Request body

OR
OR
OR

Response

OK

configsobject

Changes

No recorded changes to this operation across all 2 revisions of this API.