POST /loginUser

Get user space API key and session ID by login.

Example Request

POST /updateUser HTTP/1.1
Content-Type: application/json
Accept: application/json

  "username": "jsmith",
  "password": "1234"

Example Response

HTTP/1.1 200 OK
Content-Type: application/json

  "data": null,
  "message": "Successfully logged in as jsmith."
  "success": true,
  "status": 1,
  "sessionid": "48F2E9A0-ABD6-4C80-B8DA-61D0DDE4A43B",
  "apikey": "E14D8D73-0C78-4583-897A-EE9C1B10E10A"
Request JSON Object:
  • username (string) – Username
  • password (string) – Password
Response JSON Object:
  • message – Response message
  • data – Response data
  • successtrue if user authentication successful, false otherwise
  • status – Authentication status code
  • sessionid – Session ID of the authenticated user
  • apikey – API key of the authenticated user