Remove list of devices from a group (devices are listed by device IDs or IPs). Only Location and 'User Defined' Device groups are supported.
Since Product Version: 3.0
Resource Information
Rate Limiting? |
Yes |
Sorting? |
No |
Paging? |
No |
Filtering? |
No |
Aggregation? |
No |
Response Formats |
xml json |
User Group |
NBI Write |
HTTP Methods |
PUT |
DevNet Discussions
Resource URL
/webacs/api/v1/op/groups/removeDevicesRequest Parameters
Attribute | Source | Description |
---|---|---|
groupId Long |
query |
RequiredId of the group. Either groupId or groupPath must be specified. |
groupPath String |
query |
RequiredFull path and name of the group. Either groupId or groupPath must be specified. |
Request Payload Parameters
Attribute | Description |
---|---|
deviceIds Long[] |
List of device IDs |
deviceIps String[] |
List of device IP addresses |
Sample Payloads
Sample payloads are for information only. They are automatically generated and the values included may not be representative of actual valid data values.
Sample XML Request Payload
https://localhost/webacs/api/v1/op/groups/removeDevices?groupPath=Location/All Locations/groupName
<?xml version="1.0" ?>
<groupDevicesDTO>
<deviceIds>
<deviceId>15</deviceId>
</deviceIds>
<deviceIps>
<deviceIp>String value</deviceIp>
</deviceIps>
</groupDevicesDTO>
Sample JSON Request Payload
https://localhost/webacs/api/v1/op/groups/removeDevices.json?groupPath=Location/All Locations/groupName
{
"groupDevicesDTO" : {
"deviceIds" : {
"deviceId" : 15
},
"deviceIps" : {
"deviceIp" : "String value"
}
}
}