Group Management API-V1
create device group
POST {host}/1.0/group
create a new device group, you can only create up to 50 groups.
Request Body
Name
Type
Description
name
string
custom group name
{
"code": "0",
"data": {
"org_id": "1411841915123",
"name": "test group22",
"unique_name": "1B86514936880D18",
"created": "1587690584174"
}
}Example request
curl --request POST \
--url '{host}/1.0/group' \
--user '<username>:<password>' \
--header 'content-type: application/x-www-form-urlencoded' \
--data '{"name":"device group name"}' \
--includelist device group
GET {host}/1.0/lists/group
get the list of all groups
Example request
list device group with devices
GET {host}/1.0/lists/group/devices
List all groups and devices in each group.
The Default group is a virtual group, its group_unique_name is empty. All devices will be claimed into the Default group, users could then reorganize them with different groups.
Example request
Last updated
Was this helpful?