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_numberThe phone_number format should be +CC(YYY)ZZZ-XXXXemail_addressThe email_address must be formatted as a proper email addressquickreportThe quickreport must be “1” or “0”readonlyThe readonly must be “1” or “0”quickreport_location_idThe 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]
}
}