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

Request

Cookies

access_tokenstring nullable

Request body

tokenstring required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 8 revisions of this API.