Requests to un-enroll a device.

API

int Iotc_UnEnroll ( IotcSession * iotcSession, IotcDeviceId * deviceId )

Description

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.

Parameters
in session

Is the connected session returned as part of Iotc_Init call.

in deviceId

Pointer to the device identifier of the device.