AuthCurrent userThe signed-in user. Requires the **viewer** role.Copy MarkdownOpenServer URLloading...GET/api/auth/meSendAuthorizationAuthorizationCopy Anchor LinksessionCookie udon_session<token>In: cookieResponse BodyCopy Anchor Link200application/json401application/jsoncURLJavaScriptGoPythonJavaC#RustCopy Textcurl -X GET "https://example.com/api/auth/me"200401Copy Text{ "id": "string", "username": "string", "role": "viewer", "disabled": true, "twoFactor": true}Enable two-factor POSTConfirms the pending TOTP setup with a code from the authenticator and turns two-factor on, returning one-time recovery codes. Requires the **viewer** role.Your two-factor status GETWhether your own account has TOTP two-factor enabled. Requires the **viewer** role.