# Cannot Delete From Cloud Hosted Serverless

**URL:** <https://community.influxdata.com/t/cannot-delete-from-cloud-hosted-serverless/30235>\
**Category:** Systems\
**Created:** [June 9, 2023, 5:02am UTC](https://community.influxdata.com/t/cannot-delete-from-cloud-hosted-serverless/30235 "2023-06-09T05:02:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![kleptine](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/kleptine/32/13613_2.png) [@kleptine](https://community.influxdata.com/u/kleptine)\
**Post date:** [June 9, 2023, 5:02am UTC](https://community.influxdata.com/t/cannot-delete-from-cloud-hosted-serverless/30235/1 "2023-06-09T05:02:57Z")

</div>

I just created a new InfluxDB database on the Serverless cloud hosted service, and I’d like to delete data points from a bucket.

I’ve tried every formulation of delete commands, queries, and API calls, but none of them work.

```auto
Ex:
influx delete --org-id <snipped> --bucket <snipped> --start 2020-01-01T00:00:00Z --stop 2023-06-09T10:00:00Z --predicate '_measurement="editor.reload_times"'

```

I’ve tried similar through the HTTP API. Both of these return success, but don’t actually do anything, and no data is deleted.

I’ve also tried various queries through the query editor, but all of them fail with either syntax issues, or ‘unsupported’:

```auto
DROP SERIES ...
DELETE FROM bucket_name;
DELETE * FROM measurement_name

```

Etc, etc.

How do I actually delete data points?

---

<div class="post-metadata">

**Author:** ![kleptine](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/kleptine/32/13613_2.png) [@kleptine](https://community.influxdata.com/u/kleptine)\
**Post date:** [June 13, 2023, 6:20pm UTC](https://community.influxdata.com/t/cannot-delete-from-cloud-hosted-serverless/30235/2 "2023-06-13T18:20:53Z")

</div>

Any help? … are people able to delete data points? This seems like a really basic feature.

I’ve also tried without any predicate:  
`influx delete --org-id <snipped> --bucket <snipped> --start 2020-01-01T00:00:00Z --stop 2023-06-09T10:00:00Z`

Even that doesn’t work. :\

---

<div class="post-metadata">

**Author:** ![kleptine](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/kleptine/32/13613_2.png) [@kleptine](https://community.influxdata.com/u/kleptine)\
**Post date:** [June 21, 2023, 11:22pm UTC](https://community.influxdata.com/t/cannot-delete-from-cloud-hosted-serverless/30235/3 "2023-06-21T23:22:14Z")

</div>

Hello? Anyone else having this problem?

---

<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:** [June 28, 2023, 11:10pm UTC](https://community.influxdata.com/t/cannot-delete-from-cloud-hosted-serverless/30235/4 "2023-06-28T23:10:04Z")

</div>

Hello @kleptine,  
Hmm thank you so much for bringing this to our attention.  
First what version of the CLI are you using?  
It looks like you need:

- influx CLI 2.0.3+  
[influx delete | InfluxDB Cloud Serverless Documentation](https://docs.influxdata.com/influxdb/cloud-serverless/reference/cli/influx/delete/#Copyright)

If you’re still using that version, can you please submit a bug here:

> **[GitHub - influxdata/influxdb\_iox: Pronounced (influxdb eye-ox), short for...](https://github.com/influxdata/influxdb_iox)**
>
> Pronounced (influxdb eye-ox), short for iron oxide. This is the new core of InfluxDB written in Rust on top of Apache Arrow. - GitHub - influxdata/influxdb\_iox: Pronounced (influxdb eye-ox), short ...

Thank you!

---

<div class="post-metadata">

**Author:** ![thopewell](https://avatars.discourse-cdn.com/v4/letter/t/b782af/32.png) [@thopewell](https://community.influxdata.com/u/thopewell)\
**Post date:** [February 8, 2024, 9:08pm UTC](https://community.influxdata.com/t/cannot-delete-from-cloud-hosted-serverless/30235/5 "2024-02-08T21:08:37Z")

</div>

Hello @Anaisdg ,

Is delete possible in Influx cloud serverless?

The documentation is a bit confusing, this page states that the delete api has been disabled: [Delete data | InfluxDB Cloud Serverless Documentation](https://docs.influxdata.com/influxdb/cloud-serverless/write-data/delete-data/)  
But this page suggests its possible via the cli: [influx delete | InfluxDB Cloud Serverless Documentation](https://docs.influxdata.com/influxdb/cloud-serverless/reference/cli/influx/delete/) but contains a broken link to what the “influxql like predicate” statement looks like.

It seems its not supported, I tried to delete some data without a predicate statement and although the cli (v2.7.3) didn’t return an error, the data is still there.

My use case is that a wrong data type has been sent to a new measurement and subsequent ingests are failing. It would be much easier for me to delete the offending data than have to set up a new measurement and change everything to use that instead.

Thanks,  
Tom

---

<div class="post-metadata">

**Author:** ![sauvant](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/sauvant/32/3703_2.png) [@sauvant](https://community.influxdata.com/u/sauvant)\
**Post date:** [March 29, 2024, 9:26am UTC](https://community.influxdata.com/t/cannot-delete-from-cloud-hosted-serverless/30235/6 "2024-03-29T09:26:39Z")

</div>

+1, same question here!  
Was anybody able to sort that out?

Best,  
Keith

---

<div class="post-metadata">

**Author:** ![NNNN](https://avatars.discourse-cdn.com/v4/letter/n/3be4f8/32.png) [@NNNN](https://community.influxdata.com/u/NNNN)\
**Post date:** [April 30, 2024, 12:24pm UTC](https://community.influxdata.com/t/cannot-delete-from-cloud-hosted-serverless/30235/7 "2024-04-30T12:24:12Z")

</div>

I seem to have the same problem. @kleptine did you figure it out how to delete?
