Two-Factor Authentication

List 2FA methods

Changed on

Retrieve the list of configured two-factor authentication methods. Requires MANAGE_2FA_METHODS access right.

get/v1/2fa/methods

Request

  • Base URL
    http://127.0.0.1:8000
  • URL
    http://127.0.0.1:8000/v1/2fa/methods
  • Auth
    HTTP bearer

Response

2FA methods retrieved 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)

Changes