#auth Endpoints (12)

POST/v1/auth/registeropen-api (Python :8010)#auth

Register

POST/v1/auth/loginopen-api (Python :8010)#auth

Login

GET/v1/auth/meopen-api (Python :8010)#auth

Get Me

GET/v1/auth/loadopen-api (Python :8010)#auth

Auth Load

Initial boot loader contract used by frontend workspaces and desktop clients. Aggregates user profile, organization info, active apps, pages, tags, and settings.

POST/v1/auth/logoutopen-api (Python :8010)#auth

Logout

POST/v1/auth/switch-orgopen-api (Python :8010)#auth

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.

POST/v1/auth/switchopen-api (Python :8010)#auth

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.

GET/v1/auth/sessionsopen-api (Python :8010)#auth

List Active Sessions

Returns active sessions for the authenticated user.

POST/v1/auth/sessions/revoke-allopen-api (Python :8010)#auth

Revoke All Sessions

POST/v1/auth/sessions/{session_id}/revokeopen-api (Python :8010)#auth

Revoke Single Session

POST/v1/auth/cli-browser-tokenopen-api (Python :8010)#auth

Generate Cli Browser Token

Generates a short-lived, single-use token to exchange for a browser session (`valstorm project open`).

POST/v1/auth/consume-cli-tokenopen-api (Python :8010)#auth

Consume Cli Browser Token

Consumes a single-use CLI exchange token and returns standard web session tokens.