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
- Base URLhttps://demo.thingsboard.io
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
verificationCodestring
Request body
Response
OK
Changes
No recorded changes to this operation across all 2 revisions of this API.