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

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

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

Creates or updates a Data Box Edge/Data Box Gateway resource.

## Path parameters

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

## Query parameters

- `api-version` string, required

## Request body

- DataBoxEdgeDevice — Represents the base class for all object models.
  - `id` string — The path ID that uniquely identifies the object.
  - `name` string — The object name.
  - `type` string — The hierarchical type of the object.

## Response `200`

Successfully created or updated the resource.

- DataBoxEdgeDevice — Represents the base class for all object models.
  - `id` string — The path ID that uniquely identifies the object.
  - `name` string — The object name.
  - `type` string — The hierarchical type of the object.

## Other responses

- `default` — Error response describing why the operation failed.

---

[API](https://skmtc.net/azure/apis/databoxedgemanagementclient.md) · [All operations](https://skmtc.net/azure/apis/databoxedgemanagementclient/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/databoxedgemanagementclient/versions/040c5eaa5c60/schema)
