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

/api/v2/delete has been disabled and returns a 501 Not implemented message #177

Closed
VaSmitka opened this issue Nov 17, 2020 · 3 comments · Fixed by #192
Closed

/api/v2/delete has been disabled and returns a 501 Not implemented message #177

VaSmitka opened this issue Nov 17, 2020 · 3 comments · Fixed by #192
Milestone

Comments

@VaSmitka
Copy link

VaSmitka commented Nov 17, 2020

Steps to reproduce:
List the minimal actions needed to reproduce the behavior.

  1. DeleteApi deleteApi = client.getDeleteApi();
  2. deleteApi.delete(start, stop, "", "my-bucket", "my-org");

Expected behavior:
Remove records from DB.

Actual behavior:
InfluxException: com.influxdb.exceptions.NotImplementedException: Not implemented

Specifications:

  • Client Version: 1.13.0
  • InfluxDB Version: 2.0.1
  • JDK Version: 11
  • Platform: Win 10 64-bit
@bednar
Copy link
Contributor

bednar commented Nov 18, 2020

Hi @VaSmitka,

thanks for using our client.

The delete API works only for the Influx Cloud instance.

In InfluxDB OSS 2.0rc, the delete with predicate API (/api/v2/delete) has been disabled and returns a 501 Not implemented message.

Regards

@bednar
Copy link
Contributor

bednar commented Nov 18, 2020

Related issue: influxdata/influxdb#19635

@bednar
Copy link
Contributor

bednar commented Dec 16, 2020

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

Successfully merging a pull request may close this issue.

2 participants