Skip to main content

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

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

Schema

    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.

  • Array [

  • 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.

  • ]

Loading...