Reputation: 1
I can add new tags to Azure IoT Hub Device Twin with below step
await _registryManager.UpdateTwinAsync(twin.DeviceId, patch, twin.ETag);
But how do you remove a tag that is added previously?
Upvotes: 0
Views: 1396
Reputation: 2331
You can remove a previously added property by setting its value to null. You can find an example here: https://learn.microsoft.com/azure/iot-hub/iot-hub-devguide-device-twins#back-end-operations
Upvotes: 1