v1

latestOpenAPI 3.0.3MIT2026-07-176638100.8 KB

GET Two-factor authentication setup form/information

get/tf-setup

Response

Setup form

tf_requiredstring

Config setting SECURITY_TWO_FACTOR_REQUIRED.

tf_primary_methodstring

Current (if any) setup method (deprecated).

tf_methodstring

Current (if any) setup method.

tf_available_methodsstring

Config setting SECURITY_TWO_FACTOR_ENABLED_METHODS. If SECURITY_TWO_FACTOR_REQUIRED is false then 'disable' will be part of the set.

tf_phone_numberstring

Currently configured (if any) phone number.