#auth Endpoints (12)
Register
Login
Get Me
Auth Load
Initial boot loader contract used by frontend workspaces and desktop clients. Aggregates user profile, organization info, active apps, pages, tags, and settings.
Logout
Switch Organization
Switches the authenticated user between their root production organization and its child sandboxes. Supports both legacy Desktop payload `{"id": "..."}` on `/v1/auth/switch` and Admin payload `{"organization_id": "..."}` on `/v1/auth/switch-org`. Strictly forbids switching into unrelated tenant organizations.
Switch Organization
Switches the authenticated user between their root production organization and its child sandboxes. Supports both legacy Desktop payload `{"id": "..."}` on `/v1/auth/switch` and Admin payload `{"organization_id": "..."}` on `/v1/auth/switch-org`. Strictly forbids switching into unrelated tenant organizations.
List Active Sessions
Returns active sessions for the authenticated user.
Revoke All Sessions
Revoke Single Session
Generate Cli Browser Token
Generates a short-lived, single-use token to exchange for a browser session (`valstorm project open`).
Consume Cli Browser Token
Consumes a single-use CLI exchange token and returns standard web session tokens.
