Two-Factor Authentication

Get 2FA method details

Changed on

Retrieve details of a specific two-factor authentication method. Requires MANAGE_2FA_METHODS access right.

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

Request

  • Base URL
    http://127.0.0.1:8000
  • URL
    http://127.0.0.1:8000/v1/2fa/methods/{method-name}
  • Auth
    HTTP bearer

Path parameters

method-namestring required

2FA method name

Response

2FA method 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