Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How does influxdb delete data with a certain prefix by HTTP request? #757

Open
Jessmz opened this issue Jul 9, 2021 · 1 comment
Open

Comments

@Jessmz
Copy link

Jessmz commented Jul 9, 2021

How does influxdb delete data with a certain prefix by HTTP request?

The version of influxdb is 2.0.7

Is there any relevant sample code?

@bednar
Copy link
Contributor

bednar commented Jul 12, 2021

Hi @frakes-zheng,

you can use a client for InfluxDB v2: influxdb-client-java and here is an example how to delete data:

https://github.com/influxdata/influxdb-client-java/blob/f341e0043dca36e9fcaf636b8e59fe6bc00c9455/examples/src/main/java/example/DeleteData.java#L35

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants