Menu

UpdateDeviceGroup

Jim

Update a Device Group

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

  • apikey

Data

<devicegroup name="...">
    <device_name>...</device_name>
    <device_name>...</device_name>
</devicegroup>

Errors:

  • 401 UNAUTHORIZED if key is invalid or not admin key
  • 404 CONFLICT if devicegroup does not exist

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

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.