SubUsers
List
GET SubUser Accounts for this Parent User Account
GET /api/subuser-list
Auth [Identifier], Scope [User]
Params
Name | Required | Type | Default | Comment |
---|---|---|---|---|
none |
Create
Create a Device
GET /api/create-sub-user
Auth [Identifier], Scope [User]
Params
Name | Required | Type | Default | Comment |
---|---|---|---|---|
identifier | yes | string | ||
first_name | yes | string | max:100 | |
last_name | yes | string | max:100 | |
yes | string | |||
password | yes | string | min:5 | |
quickreport | yes | string | 0,1 | |
readonly | yes | string | 0,1 | |
quickreport_location_id | yes | integer |
Notes:
phone_number
The phone_number format should be +CC(YYY)ZZZ-XXXXemail_address
The email_address must be formatted as a proper email addressquickreport
The quickreport must be “1” or “0”readonly
The readonly must be “1” or “0”quickreport_location_id
The quickreport_location_id must be a Location ID# from the MyWiFi Dashboard
Success [200]
{
"status": "success",
"message": "Device has been successfully created.",
"device_id": [device_id]
}
Error [400]
{
"status": "error",
"message": {
[error_msgs]
}
}