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

# DELETE /deviceUpdate/{instanceId}/management/groups/{groupId}

`DELETE /deviceUpdate/{instanceId}/management/groups/{groupId}`

Deletes a device group. This group is automatically created when a Device Update-enabled device is connected to the hub and reports its properties. Groups, subgroups, and deployments are not automatically cleaned up but are retained for history purposes. Users can call this method to delete a group if they do not need to retain any of the history of the group and no longer need it. If a device is ever connected again for this group after the group was deleted it will be automatically re-created but there will be no history.

## Path parameters

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

## Query parameters

- `api-version` string, required

## Response `204`

No content.

## Other responses

- `default` — Default response.

## Changes

- **2026-07-13** (2020-09-01) `5ba53cf1b884` — 1 info
  - endpoint added
- **2021-03-02** (2020-09-01) `be0eed01a5b1` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/azure/apis/deviceupdate-microsoft-deviceupdate/changes/deviceUpdate/:instanceId/management/groups/:groupId/delete.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/5ba53cf1b884/schema)
