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
Remove DELETE /index/type endpoint #5960
Comments
I am conflicted, if we remove this, and following the same logic, we should remove |
So may be we should introduce a new setting like
So, we don't break anything with that change which is even better but we let OPS decide if we want to activate that feature or not. May be there are some cleaner way to do this? In that case, the index should not be available anymore for search but we could fire a command like:
Any other ideas? Or should we close this "issue"? |
We make this mistake, so we definitively love to see a circuit-breaker here. |
We talked about this today and feel that we should keep the existing API, and not try to provide too much protection as we will end up hurting existing users. What we can do is to reject DELETE requests which come with a body, when a body is not expected. |
Closed in favour of #8217 |
Heya,
As we did it for #4481, it could be safe not to allow anymore removing a type using:
But only allow:
It could happen that a user which have previously posted a new document deletes all documents by forgetting to provide the
_id
.Thoughts?
The text was updated successfully, but these errors were encountered: