two-factor-auth-config-controller
Update 2FA account config (updateTwoFaAccountConfig)
Update config for a given provider type. Update request example:
{
"useByDefault": true
}
Returns whole account's 2FA settings object.
Available for any authorized user.
put/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
providerType'TOTP' | 'SMS' | 'EMAIL' | 'BACKUP_CODE' required
Request body
Response
OK
Changes
No recorded changes to this operation across all 2 revisions of this API.