jwt_token value in the X-OTAS-USER-TOKEN header for any endpoint that requires authentication. No prior authentication is needed to call this endpoint.
The request body accepts either
password or Password (capital P) for the password field. Both keys are checked; Password takes precedence if both are present.Request
Method:POSTURL:
http://localhost:8000/api/user/v1/login/Authentication: None
Body parameters
string
required
The registered email address. Matched case-insensitively.
string
required
Account password. Also accepted as
Password (capital P).Response
integer
required
1 on success, 0 on failure.string
required
login_success on success, login_failed on failure.object
Present only on a successful login.