private async Task DeleteSensor(string id) { WriteLine($"Testing DELETE '{_route}/{SensorApi.Path}/{id}'."); // Sample JSON to send JObject json = new JObject { ["willUnprovision"] = true }; await _sensorApi.Delete(id, json.ToString()); WriteLine("Sensor Delete Success\n"); }
private async Task DeleteSensor(string id) { WriteLine($"Testing DELETE \"{Route}{Sensors.Route}/{id}\""); // Sample JSON to send JObject json = new JObject { ["willUnprovision"] = true }; await Sensors.Delete(id, json.ToString()); WriteLine("Sensor Delete Success\n"); }