Get your two-factor state
Get the two-factor state of the current local user.
GET
/api/v1/auth/two-factorAuthorization
tse_sessionAPI key · cookierequiredResponses
200
OK
enabledbooleanrequiredThe user has confirmed TOTP
recovery_codes_remaininginteger<int64>requiredrequiredbooleanrequiredAn admin requires two-factor for local users
default
Error
codestringStable code of the refusal, when the route has codes
detailsstring[]Additional detail, e.g. per-field validation failures
errorstringrequiredHuman-readable error message