Removes and wipes a device from a Circle.
The Circle ID and the ID of the device that you want removed from the Circle.
Whether the action was successful or not.
public async Task<RevokeDeviceReply> RevokeDevice(RevokeDeviceRequest request)
public class RevokeDeviceRequest
{
public string CircleId;
public string DeviceId;
}
public class RevokeDeviceReply
{
public ReturnStatus Status;
}
public void RevokeDevice(string circleId, string DeviceId)
{
RevokeDeviceRequest request = new RevokeDeviceRequest() { CircleId = circleId, DeviceId = DeviceId };
RevokeDeviceReply reply = _circle.RevokeDevice(request);
Console.WriteLine(reply.Status.Message);
}