Can't delete data from Influx

Hi,

I have wrong created tag with double quotes : SENSOR = “DOOR”, instead of SENSOR = DOOR, which I can’t remove.

I’m running below command, which does nothing and tag still exists :

influx delete --bucket XXX --predicate '_measurement="XXX" AND SENSOR="\"DOOR\""' --start '1970-01-01T00:00:00Z' --stop '2023-01-01T00:00:00Z

I also tried to remove everything from _measurement and seems like it worked, but then, when new data arrived this tag appeared again. It’s also visible via schema.tagValues.

How can I remove that not removing the bucket?

Hello @Nenkie76,
Welcome!
The following worked for me in cloud:

influx delete --bucket test --predicate '_measurement="\"measurement\""' --start 2022-10-01T00:00:00Z --stop 2022-10-08T00:00:00Z


What version of InfluxDB are you using?