# auth.twofactor.update

window extends the validity to window many counter ticks before and after the current one.

Update Two-Factor Authentication Service Configuration.

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: auth_twofactor_update

#### auth_twofactor_update

Type: object

Updated two-factor authentication configuration settings.

No Additional Properties

##

#### Enabled

Type: boolean

Whether two-factor authentication is enabled system-wide.

##

#### TwoFactorAuthServices

Type: object

Configuration for which services require two-factor authentication.

No Additional Properties

##

#### Ssh

Type: boolean Default: false

Whether two-factor authentication is required for SSH connections.

##

#### Window

Type: integer

Time window in seconds for TOTP token validation (minimum 0).

Value must be greater or equal to `0`

##

#### TwoFactorAuthEntry

Type: object

The updated two-factor authentication configuration.

No Additional Properties

##

#### Enabled

Type: boolean

Whether two-factor authentication is enabled system-wide.

##

#### TwoFactorAuthServices

Type: object

Configuration for which services require two-factor authentication.

No Additional Properties

##

#### Ssh

Type: boolean Default: false

Whether two-factor authentication is required for SSH connections.

##

#### Window

Type: integer

Time window in seconds for TOTP token validation (minimum 0).

Value must be greater or equal to `0`

##

#### Id

Type: integer

Unique identifier for the two-factor authentication configuration.

Required roles: SYSTEM_SECURITY_WRITE