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

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

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

Gets device class subgroup details. 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
- `deviceClassId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

The request has succeeded.

- DeviceClassSubgroup — Device class subgroup details. A device class subgroup is a subset of devices in a group that share the same device class id.
  - `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.

## 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)
