auth.twofactor.update
=====================

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

Update Two-Factor Authentication Service Configuration.

.. raw:: html

    <div id="json-schema">
    <span class="badge badge-dark value-type">Type: object</span><br/>
    <div class="accordion" id="accordionCall_parameters">
    <div class="card">
    <div class="card-header" id="headingCall_parameters">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters" data-toggle="collapse" onclick="setAnchor('#Call_parameters')" type="button"><span class="property-name">Call parameters</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters" class="collapse property-definition-div" data-parent="#accordionCall_parameters" id="Call_parameters">
    <div class="card-body pl-5">
    <span class="badge badge-dark value-type">Type: array</span><br/>
    <span class="badge badge-info no-additional">No Additional Items</span><h4>Tuple Validation</h4>
    <h5>Parameter 1: auth_twofactor_update</h5>
    <div class="card">
    <div class="card-body items-definition" id="Call_parameters_items_i0">
    <h4>auth_twofactor_update</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="description"><p>Updated two-factor authentication configuration settings.</p>
    </span> <span class="badge badge-info no-additional">No Additional Properties</span>
    <div class="accordion" id="accordionCall_parameters_items_i0_enabled">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_enabled">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_enabled" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_enabled" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_enabled')" type="button"><span class="property-name">enabled</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_enabled" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_enabled" id="Call_parameters_items_i0_enabled">
    <div class="card-body pl-5">
    <h4>Enabled</h4><span class="badge badge-dark value-type">Type: boolean</span><br/>
    <span class="description"><p>Whether two-factor authentication is enabled system-wide.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionCall_parameters_items_i0_services">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_services">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_services" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_services" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_services')" type="button"><span class="property-name">services</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_services" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_services" id="Call_parameters_items_i0_services">
    <div class="card-body pl-5">
    <h4>TwoFactorAuthServices</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="description"><p>Configuration for which services require two-factor authentication.</p>
    </span> <span class="badge badge-info no-additional">No Additional Properties</span>
    <div class="accordion" id="accordionCall_parameters_items_i0_services_ssh">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_services_ssh">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_services_ssh" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_services_ssh" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_services_ssh')" type="button"><span class="property-name">ssh</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_services_ssh" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_services_ssh" id="Call_parameters_items_i0_services_ssh">
    <div class="card-body pl-5">
    <h4>Ssh</h4><span class="badge badge-dark value-type">Type: boolean</span> <span class="badge badge-success default-value">Default: false</span><br/>
    <span class="description"><p>Whether two-factor authentication is required for SSH connections.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionCall_parameters_items_i0_window">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_window">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_window" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_window" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_window')" type="button"><span class="property-name">window</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_window" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_window" id="Call_parameters_items_i0_window">
    <div class="card-body pl-5">
    <h4>Window</h4><span class="badge badge-dark value-type">Type: integer</span><br/>
    <span class="description"><p>Time window in seconds for TOTP token validation (minimum 0).</p>
    </span>
    <p><span class="badge badge-light restriction numeric-restriction" id="Call_parameters_items_i0_window_number">Value must be greater or equal to <code>0</code></span></p>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value">
    <div class="card">
    <div class="card-header" id="headingReturn_value">
    <h2 class="mb-0">
    <button aria-controls="Return_value" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value" data-toggle="collapse" onclick="setAnchor('#Return_value')" type="button"><span class="property-name">Return value</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value" class="collapse property-definition-div" data-parent="#accordionReturn_value" id="Return_value">
    <div class="card-body pl-5">
    <h4>TwoFactorAuthEntry</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="description"><p>The updated two-factor authentication configuration.</p>
    </span> <span class="badge badge-info no-additional">No Additional Properties</span>
    <div class="accordion" id="accordionReturn_value_enabled">
    <div class="card">
    <div class="card-header" id="headingReturn_value_enabled">
    <h2 class="mb-0">
    <button aria-controls="Return_value_enabled" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_enabled" data-toggle="collapse" onclick="setAnchor('#Return_value_enabled')" type="button"><span class="property-name">enabled</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_enabled" class="collapse property-definition-div" data-parent="#accordionReturn_value_enabled" id="Return_value_enabled">
    <div class="card-body pl-5">
    <h4>Enabled</h4><span class="badge badge-dark value-type">Type: boolean</span><br/>
    <span class="description"><p>Whether two-factor authentication is enabled system-wide.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_services">
    <div class="card">
    <div class="card-header" id="headingReturn_value_services">
    <h2 class="mb-0">
    <button aria-controls="Return_value_services" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_services" data-toggle="collapse" onclick="setAnchor('#Return_value_services')" type="button"><span class="property-name">services</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_services" class="collapse property-definition-div" data-parent="#accordionReturn_value_services" id="Return_value_services">
    <div class="card-body pl-5">
    <h4>TwoFactorAuthServices</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="description"><p>Configuration for which services require two-factor authentication.</p>
    </span> <span class="badge badge-info no-additional">No Additional Properties</span>
    <div class="accordion" id="accordionReturn_value_services_ssh">
    <div class="card">
    <div class="card-header" id="headingReturn_value_services_ssh">
    <h2 class="mb-0">
    <button aria-controls="Return_value_services_ssh" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_services_ssh" data-toggle="collapse" onclick="setAnchor('#Return_value_services_ssh')" type="button"><span class="property-name">ssh</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_services_ssh" class="collapse property-definition-div" data-parent="#accordionReturn_value_services_ssh" id="Return_value_services_ssh">
    <div class="card-body pl-5">
    <h4>Ssh</h4><span class="badge badge-dark value-type">Type: boolean</span> <span class="badge badge-success default-value">Default: false</span><br/>
    <span class="description"><p>Whether two-factor authentication is required for SSH connections.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_window">
    <div class="card">
    <div class="card-header" id="headingReturn_value_window">
    <h2 class="mb-0">
    <button aria-controls="Return_value_window" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_window" data-toggle="collapse" onclick="setAnchor('#Return_value_window')" type="button"><span class="property-name">window</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_window" class="collapse property-definition-div" data-parent="#accordionReturn_value_window" id="Return_value_window">
    <div class="card-body pl-5">
    <h4>Window</h4><span class="badge badge-dark value-type">Type: integer</span><br/>
    <span class="description"><p>Time window in seconds for TOTP token validation (minimum 0).</p>
    </span>
    <p><span class="badge badge-light restriction numeric-restriction" id="Return_value_window_number">Value must be greater or equal to <code>0</code></span></p>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_id">
    <div class="card">
    <div class="card-header" id="headingReturn_value_id">
    <h2 class="mb-0">
    <button aria-controls="Return_value_id" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_id" data-toggle="collapse" onclick="setAnchor('#Return_value_id')" type="button"><span class="property-name">id</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_id" class="collapse property-definition-div" data-parent="#accordionReturn_value_id" id="Return_value_id">
    <div class="card-body pl-5">
    <h4>Id</h4><span class="badge badge-dark value-type">Type: integer</span><br/>
    <span class="description"><p>Unique identifier for the two-factor authentication configuration.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div><br><br>

*Required roles:* SYSTEM_SECURITY_WRITE

