Create or edit a user

URL

/users/edit/$PROFILE_ID/$ID
  • $PROFILE_ID is the customer number
  • $ID is the user number and the value returned by this function. Leave ID empty to create a new user

JSON parameters

  • username
  • password
  • pin (optional)
  • firstname (optional)
  • lastname (optional)
  • email (optional)
  • mac (optional)

List a user

URL

/users/index/$PROFILE_ID/$ID
  • $PROFILE_ID is the customer number
  • $ID is the unique identifying number of that user