---
title: "GET /deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups"
method: GET
path: "/deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups"
tags: ["Device and deployment management"]
---

# GET /deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups

`GET /deviceUpdate/{instanceId}/management/groups/{groupId}/deviceClassSubgroups`

Get the device class subgroups for the group. A device class subgroup is the
set of devices within the group that share the same device class. All devices
within the same device class are compatible with the same updates.

## Path parameters

- `instanceId` string, required
- `groupId` string, required

## Query parameters

- `api-version` string, required
- `filter` string

## Response `200`

The request has succeeded.

- DeviceClassSubgroupsList — The list of device class subgroups within a group.
  - `value` DeviceClassSubgroup[], required — The DeviceClassSubgroup items on this page
    - `deviceClassId` string, required — Device class subgroup identity. This is generated from the model Id and the compat properties reported by the device update agent in the Device Update PnP interface in IoT Hub. It is a hex-encoded SHA1 hash.
    - `groupId` string, required — Group identity.
    - `createdDateTime` string, required — Date and time when the device class subgroup was created.
    - `deviceCount` integer — The number of devices in the device class subgroup.
    - `deploymentId` string — The active deployment Id for the device class subgroup.
  - `nextLink` string, uri — The link to the next page of items

## Other responses

- `default` — An unexpected error response.

---

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