Update Device Groups
1 min
POST
{{url}}/aioc-rest-web/rest/discovery/updateDeviceGroups
urlstring
Content-Typestring
X-XSRF-TOKENstring
bodyobject
200updateDeviceGroups
curl --request POST \
--url {{url}}/aioc-rest-web/rest/discovery/updateDeviceGroups \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'x-xsrf-token: {{csrftoken}}' \
--data '"[{\n \"dbId\": 3479436,\n \"id\": \"b7577164-c147-4609-b784-ffae4f4379a8\",\n \"name\": \"DG_Test\",\n \"description\": \"DG_Test\",\n \"parentGroupId\": null,\n \"ifaceOperationCheck\": false,\n \"timeTolerance\": null,\n \"realms\": [\n 3478516\n ],\n \"deviceIds\": [\n 173076\n ],\n \"properties\": {\n \"globalPassword\": \"T6zncxX0hfwMZg9LuzKY4w==\",\n \"globalUsername\": \"admin\"\n },\n \"children\": null,\n \"devices\": null,\n \"showInDeviceTree\": true,\n \"useAsRoleGroup\": true,\n \"rootGroupId\": null,\n \"discoverySources\": null,\n \"readOnly\": false\n }]"'