-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Remove DELETE /index/type endpoint #5960
Copy link
Copy link
Closed
Labels
Description
Heya,
As we did it for #4481, it could be safe not to allow anymore removing a type using:
DELETE /index/type
But only allow:
DELETE /index/type/_mapping
DELETE /index/_mapping/type
It could happen that a user which have previously posted a new document deletes all documents by forgetting to provide the _id.
POST /index/type
{
"foo" : "bar"
}
# Just change the VERB and you wipe every documents!
DELETE /index/type
{
"foo" : "bar"
}
Thoughts?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Fields
Give feedbackNo fields configured for issues without a type.