Skip to main content
POST /login signs a user into the LightShip web UI and starts a browser session. The response sets a session cookie; the caller then sends that cookie on every subsequent request. Automation clients typically use API keys with Authorization: Bearer instead.

Endpoint

Request body

string
required
The LightShip username.
string
required
The user’s password.

Example

If the user’s must_change_password flag is true, only GET /me, POST /me/password, and POST /logout are available until the password is changed.