Resetting to factory defaults

Hi. Im moving the iotawatt, and want to remove all the old data and return it to factory defaults before i set it up again. If i change the ct labels etc in the influxdb config, it will still send the old data first before it starts sending the new data (iirc!). I want to remove all the old data and start fresh with just the new data on iotawatt and in influx. How do i do this?

Thanks,
Elf