Add Device Group
Adds a new device group.
URL |
Copy
|
Method |
|
Header parameters
Name |
Description |
---|---|
|
Data parameters (body)
Parameter | Type | Description |
---|---|---|
|
|
The name of the device group being created. Cannot exceed 128 characters. |
|
|
A description for the device group being added. Cannot exceed 512 characters. |
|
|
The names of the users associated with this device group. |
|
array of strings
|
The IDs of the devices associated with this device group. |
* Mandatory parameter
Success response
Code: 200 OK
Error response
Status and a generic error message
Example
{
"name":"groupApi55",
"description":"my group",
"deviceIds":["L7DE8985B3"],
"userNames":["alexBar"]
}