latestOpenAPI 3.1.0Apache License Version 2.02026-08-17498525913.3 KB

40169ccdec5c

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

Query parameters

providerType'TOTP' | 'SMS' | 'EMAIL' | 'BACKUP_CODE' required

Request body

useByDefaultboolean

Response

OK

configsobject