---
title: "POST /deviceUpdate/{instanceId}/management/devices:import"
method: POST
path: "/deviceUpdate/{instanceId}/management/devices:import"
tags: ["Device and deployment management"]
---

# POST /deviceUpdate/{instanceId}/management/devices:import

`POST /deviceUpdate/{instanceId}/management/devices:import`

Import existing devices from IoT Hub. This is a long-running-operation; use
Operation-Location response header value to check for operation status.

## Path parameters

- `instanceId` string, required

## Query parameters

- `api-version` string, required

## Request body

- 'Devices' | 'Modules' | 'All' — The device import type.

## Response `202`

The request has been accepted for processing, but processing has not yet completed.

## 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/revisions/ceb0ecac6c82/schema)
