Set the parent, child groups and platforms of a group
POST/api/v1/org/groups/childs
Set the parent, child groups and platforms of a group
Request
- application/json
Body
required
id numberrequired
parent numbernullable
Parent group ID, if set to null then the existing parent will be removed
platforms string[]
groups number[]
Responses
- 201
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
id numberrequired
name string
description string
platforms string[]
groups number[]
parent number
platformDetails
object[]
Platform rows for this group (id, display name, device count), for the group-by-group view.
platformId stringrequired
Platform instance id.
name string
Platform display name (falls back to platformId when unknown).
deviceCount numberrequired
Number of devices that belong to this platform.
{
"id": 0,
"name": "string",
"description": "string",
"platforms": [
"string"
],
"groups": [
0
],
"parent": 0,
"platformDetails": [
{
"platformId": "string",
"name": "string",
"deviceCount": 0
}
]
}
Loading...