Get all root groups with their child groups
GET/api/v1/org/groups
Get all root groups with their child groups
Request
Responses
- 200
Returns root group IDs and a mapping of all groups by ID
- application/json
- Schema
- Example (from schema)
Schema
roots string[]required
Array of group IDs (as strings) that are root nodes
groups
object
required
Map of group ID (as string) to ChildGroupDto
property name*
ChildGroupDto
id numberrequired
name string
description string
devices string[]
groups number[]
parent number
{
"roots": [
"string"
],
"groups": {}
}
Loading...