POST /createUser

Create a new user from an existing user’s API key and Session ID.

Example Request

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

  "username": "jsmith",
  "password": "1234",
  "email": "",
  "space": "John Space",
  "apikey": "E14D8D73-0C78-4583-897A-EE9C1B10E10A",
  "sessionId": "48F2E9A0-ABD6-4C80-B8DA-61D0DDE4A43B"

Example Response

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

  "data": null,
  "success": true,
  "message": "Successfully created user jsmith."
Request JSON Object:
  • username (string) – Username for the new user
  • password (string) – Password for the new user
  • email (string) – E-mail of the new user
  • space (string) – Space name of the new user
  • apikey (string) – User API key
  • sessionid (string) – User session ID
Response JSON Object:
  • data – Response data
  • successtrue if user creation successful, false otherwise
  • message – Response message