# List the subgroups of list of groups

Returns EnterpriseDeviceGroup list

Endpoint: GET /api/v2/subgroups/
Version: 1.0.0
Security: apiKey

## Query parameters:

  - `parent_group_ids` (string)
    Filter by parent group ids. This is a comma separated list of group ids.

  - `immediate` (boolean)
    This is a boolean value. If true, only immediate subgroups are returned.

## Response 200 fields (application/json):

  - `content` (array, required)

  - `content.subgroups` (array)

## Response 400 fields (application/json):

  - `errors` (array)

  - `message` (string)

  - `status` (integer)

## Response 401 fields (application/json):

  - `errors` (array)

  - `message` (string)

  - `status` (integer)

## Response 500 fields (application/json):

  - `errors` (array)

  - `message` (string)

  - `status` (integer)


