/api/auth/logoutLog out the currently authenticated user and invalidate their active session.GET/api/auth/logoutResponse Body200application/json4xxapplication/jsoncURLJavaScriptGoPythonJavaC#Rustcurl -X GET "https://example.com/api/auth/logout"2004xx{ "loggedOut": true}/api/auth/login POSTAuthenticate a user, creating a session and optionally requiring a TOTP code when multi-factor auth is enabled./api/auth/register POSTRegister a new user account and immediately authenticate them, optionally consuming an invite code.