meenakshi
meenakshi

Reputation: 23

Iot-edge Rest API for az command "az iot edge set-modules"

I am unable to get REST API for az-cli command "az iot edge set-modules --device-id mydevice --hub-name my-hub --content filename.json"

Upvotes: 0

Views: 359

Answers (1)

Joy Wang
Joy Wang

Reputation: 42103

This is the rest api which you are looking for: Service - Apply Configuration On Edge Device

POST https://fully-qualified-iothubname.azure-devices.net/devices/{id}/applyConfigurationContent?api-version=2018-06-30

Upvotes: 1

Related Questions