# Can't delete data from Influx

**URL:** <https://community.influxdata.com/t/cant-delete-data-from-influx/26775>\
**Category:** Systems\
**Created:** [September 29, 2022, 2:07pm UTC](https://community.influxdata.com/t/cant-delete-data-from-influx/26775 "2022-09-29T14:07:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nenkie76](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/nenkie76/32/11114_2.png) [@Nenkie76](https://community.influxdata.com/u/Nenkie76)\
**Post date:** [September 29, 2022, 2:07pm UTC](https://community.influxdata.com/t/cant-delete-data-from-influx/26775/1 "2022-09-29T14:07:42Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Anaisdg](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/anaisdg/32/6401_2.png) [@Anaisdg](https://community.influxdata.com/u/Anaisdg)\
**Post date:** [October 7, 2022, 6:56pm UTC](https://community.influxdata.com/t/cant-delete-data-from-influx/26775/2 "2022-10-07T18:56:04Z")

</div>

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

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

```

 ![Screen Shot 2022-10-07 at 1.51.54 PM](https://us1.discourse-cdn.com/flex023/uploads/influxdata/original/2X/d/d8df4f022ccadb6f626e7a8418b6cfc5fc7ed02c.jpeg)  
 ![Screen Shot 2022-10-07 at 1.54.39 PM](https://us1.discourse-cdn.com/flex023/uploads/influxdata/original/2X/3/3f8b12aff971866dc4c7094637645ebb871d0d89.jpeg)

What version of InfluxDB are you using?
