GET/user/login

Log in a user

Authenticates a user with the supplied username and password query parameters. Use this operation to log in; the API definition marks both parameters as optional.

2 parameters
usernamestringoptional
The username to use for login.
passwordstringoptional
The password to use for login, sent as clear text.

3 status codes
200Returns a string containing the login result.
400Returned when the supplied username or password is invalid.
defaultUnexpected error

Error handling

A 400 is returned when the username or password supplied for login is invalid. Provide the username and password query parameters with credentials for the account.