---
title: "GET /deviceupdate/{instanceId}/v2/management/groups"
method: GET
path: "/deviceupdate/{instanceId}/v2/management/groups"
tags: ["Device management"]
---

# GET /deviceupdate/{instanceId}/v2/management/groups

`GET /deviceupdate/{instanceId}/v2/management/groups`

Gets a list of all device groups.

## Path parameters

- `instanceId` string, required

## Response `200`

The device groups.

- PageableListOfGroups — The list of groups.
  - `value` Group[] — The collection of pageable items.
    - `groupId` string, required — Group identity.
    - `groupType` 'IoTHubTag', required — Supported group types.
    - `tags` string[], required — IoT Hub tags.
    - `createdDateTime` string, required — Date and time when the update was created.
    - `deviceCount` integer — The number of devices in the group.
  - `nextLink` string — The link to the next page of items.

## Changes

- **2021-03-02** (2020-09-01) `be0eed01a5b1` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/azure/apis/deviceupdate-microsoft-deviceupdate/changes/deviceupdate/:instanceId/v2/management/groups/get.md)

---

[API](https://skmtc.dev/azure/apis/deviceupdate-microsoft-deviceupdate.md) · [All operations](https://skmtc.dev/azure/apis/deviceupdate-microsoft-deviceupdate/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/deviceupdate-microsoft-deviceupdate/revisions/be0eed01a5b1/schema)
