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

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

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

Get the best available updates for a group and a count of how many devices need each update.

## Path parameters

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

## Query parameters

- `$filter` string

## Response `200`

The best available updates for a group and a count of how many devices need each update.

- PageableListOfUpdatableDevices — The list of updatable devices.
  - `value` UpdatableDevices[] — The collection of pageable items.
    - `updateId` UpdateId, required — Update identifier.
      - `provider` string, required — Update provider.
      - `name` string, required — Update name.
      - `version` string, required — Update version.
    - `deviceCount` integer, required — Total number of devices for which the update is applicable.
  - `nextLink` string — The link to the next page of items.

## Other responses

- `404` — Not found.

## 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/:groupId/bestUpdates/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.dev/azure/apis/deviceupdate-microsoft-deviceupdate/revisions/06221417ac26?raw)
