token

Enable 2Fa

Flow A: opt-in. Verify TOTP and flip two_fa_enabled=True for an already-logged-in user. The forced-setup equivalent lives in /verify_2fa (scope=2fa_setup_required).

post/token/enable_2fa

Cookies

access_tokenstring nullable

Request body

tokenstring required

Response

Successful Response

{"stackTrail":"paths:/token/enable_2fa:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.