---
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.

---

[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/versions/ceb0ecac6c82/schema)
