Enable or Disable Data Model Synchronization with the Cloud
You can expose a local REST API to suspend and restart data model updates consumption from the Cloud.
-
API name: deviceModelChannelActive
-
Body parameter: active (boolean)
-
Example:
curl -X POST "http://<hostName>:<port>/<instanceId>/iot/edge/api/v1/admin/sync/dataModelChannelActive" -H "accept: */*" -H "Content-Type: application/json" -d "{\"active\": true}"