---
title: "Gets the IoT Edge device enrollement script Url."
method: GET
path: "/api/edge/devices/{deviceId}/enrollementScript/{templateName}"
tags: ["IoT Edge Devices"]
---

# Gets the IoT Edge device enrollement script Url.

`GET /api/edge/devices/{deviceId}/enrollementScript/{templateName}`

## Path parameters

- `deviceId` string, required
- `templateName` string, required

## Response `200`

Success

- string

---

[API](https://skmtc.net/cgi-fr/apis/azure-iot-hub-portal-api.md) · [All operations](https://skmtc.net/cgi-fr/apis/azure-iot-hub-portal-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cgi-fr/azure-iot-hub-portal-api/versions/ce058568b9f0/schema)
