/// <summary> /// Remove that updated sensor /// </summary> /// <param name="sensorId">The Id of the updated sensor</param> private static async Task RemoveSensor(string sensorId) { Console.WriteLine("Testing '/api/sensor/remove'"); // Sample JSON to send JObject json = new JObject { ["sensorId"] = sensorId }; await SensorApi.RemoveSensor(json.ToString()); Console.WriteLine("Sensor Remove Success\n"); }