---
title: "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}"
method: DELETE
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}"
tags: ["Devices"]
---

# DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}

`DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}`

Deletes the Data Box Edge/Data Box Gateway device.

## Path parameters

- `deviceName` string, required
- `subscriptionId` string, required
- `resourceGroupName` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Successfully deleted the resource.

## Other responses

- `202` — Accepted the request to delete the resource.
- `204` — The resource is already deleted.
- `default` — Error response describing why the operation failed.

## Changes

- **2026-07-13** (2019-03-01) `6a5fd6f7c11c` — 1 info
  - added the success response with the status `202`
- **2026-07-13** (2019-03-01) `0ab925cce842` — 3 warning, 2 info
  - deleted the `path` request parameter `resourceGroupName`
  - deleted the `path` request parameter `subscriptionId`
  - deleted the `query` request parameter `api-version`
  - api tag `DataBoxEdgeDevices` added
  - …1 more
- **2026-07-13** (2019-03-01) `21e967eeed99` — 1 breaking
  - removed the success response with the status `202`

[Change history](https://skmtc.dev/azure/apis/databoxedge-microsoft-databoxedge-databoxedge/changes/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/:deviceName/delete.md)

---

[API](https://skmtc.dev/azure/apis/databoxedge-microsoft-databoxedge-databoxedge.md) · [All operations](https://skmtc.dev/azure/apis/databoxedge-microsoft-databoxedge-databoxedge/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/databoxedge-microsoft-databoxedge-databoxedge/revisions/6a5fd6f7c11c/schema)
