This function returns a list of device groups.

Resource Information

Method

URL

Required authentication

GET

/V1/CMDB/DeviceGroups

Yes

Parameters

Name

Description

Token*required
(header)

The token can be obtained by sending a POST request to the log in session endpoint and provide valid credentials.

Response

Parameter

Type

Description

Example

deviceGroups

array

A list of all accessible domains.

{
    "deviceGroups": [
         {
            "id":"8196020b-b223-4bc8-8178-ac4da95b1695",
            "name":"#BGP 64512",
            "type":2
        },
         {
            "id":"fbd027f2-24c9-4616-a6bd-62b7613b07e1",
            "name":"#BGP 65000",
            "type":2
        },
         {
            "id":"fcdb1b8b-bffd-478f-a914-e867f6a87f86",
            "name":"retest",
            "type":0
        }
    ],
    "statusCode":790200,
    "statusDescription":"Success."
}

id

string

The ID of a device group

name

string

The name of a device group

type

integer

The type of a device group.

0: Public

1: Private

2: System