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

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

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

Gets the breakdown of how many devices are on their latest update, have new updates available, or are in progress receiving new updates.

## Path parameters

- `instanceId` string, required

## Response `200`

The count of devices that have the latest update, have updates available, or are in progress receiving new updates.

- UpdateCompliance — Update compliance information.
  - `totalDeviceCount` integer, required — Total number of devices.
  - `onLatestUpdateDeviceCount` integer, required — Number of devices on the latest update.
  - `newUpdatesAvailableDeviceCount` integer, required — Number of devices with a newer update available.
  - `updatesInProgressDeviceCount` integer, required — Number of devices with update in-progress.

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