v51

latestOpenAPI 3.0.2raw.githubusercontent.com2026-08-01245104440.0 KB
Two-Factor Authentication

Update 2FA method

Update an existing two-factor authentication method. Only the fields provided in the request body will be modified. Requires MANAGE_2FA_METHODS access right.

put/v1/2fa/methods/{method-name}

Path parameters

method-namestring required

2FA method name

Request body

namestring required

Method name

driverstring required

Driver name (e.g., "TOTP", "Message")

descriptionstring

Method description

configurationobject

Driver-specific configuration

Response

2FA method updated successfully

namestring

Method name (unique identifier)

driverstring

Driver name (e.g., "TOTP", "Message")

descriptionstring

Method description

isValidboolean

Whether the method configuration is valid

configurationobject

Driver-specific configuration (structure depends on the driver)