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

# DELETE /deviceUpdate/{instanceId}/management/deviceClasses/{deviceClassId}

`DELETE /deviceUpdate/{instanceId}/management/deviceClasses/{deviceClassId}`

Deletes a device class. Device classes are created automatically when Device
Update-enabled devices are connected to the hub but are not automatically
cleaned up since they are referenced by DeviceClassSubgroups. If the user has
deleted all DeviceClassSubgroups for a device class they can also delete the
device class to remove the records from the system and to stop checking the
compatibility of this device class with new updates. If a device is ever
reconnected for this device class it will be re-created.

## Path parameters

- `instanceId` string, required
- `deviceClassId` string, required

## Query parameters

- `api-version` string, required

## Response `204`

There is no content to send for this request, but the headers may be useful.

## Other responses

- `default` — An unexpected error response.

## Changes

> 6 revisions in range; 2 could not be searched.

- **2026-07-13** (2020-09-01) `5ba53cf1b884` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/azure/apis/deviceupdate-microsoft-deviceupdate/changes/deviceUpdate/:instanceId/management/deviceClasses/:deviceClassId/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/ceb0ecac6c82/schema)
