locked
API to enable/disable Iot devices? RRS feed

  • Question

  • Is there an API to enable/disable Iot devices without any manual intervention?

    Tuesday, August 22, 2017 7:28 AM

All replies

  • You can use this API call to set the "connectionState" to connected or disconnected which should to what you need

    https://docs.microsoft.com/en-us/rest/api/iothub/deviceapi/putdevice


    Gary A. Bushey

    Tuesday, August 22, 2017 11:26 AM