Requests to un-enroll a device.


int Iotc_UnEnroll ( IotcSession * iotcSession, IotcDeviceId * deviceId )


Sends a request to the Server to un-enroll the device specified by deviceId. If the deviceId is empty, then the root gateway device is un-enrolled.

in session

Is the connected session returned as part of Iotc_Init call.

in deviceId

Pointer to the device identifier of the device.