Updates a device groups in the domain of the owner identified by the apikey. All information (device assignment) of the device group is overwritten. A device my be part of several groups and it is possible to add not yet existing devices to a group.
Path: cs-ws/resources/admin/devicegroup Method: PUT
Parameters
Data
<devicegroup name="..."> <device_name>...</device_name> <device_name>...</device_name> </devicegroup>
Errors:
Example
PUT http://localhost/cs-ws/resources/admin/devicegroup?apikey=1234 HTTP/1.1 <devicegroups> <devicegroup name="DevGroup1"> <device_name>D1</device_name> <device_name>D3</device_name> </devicegroup> </devicegroups> HTTP/1.1 200 OK