I want to execute a curl request from the elasticsearch head plugin in order to delete all the similarly named indexes. I am using the following command but getting an error.
The _search
endpoint doesn't support the HTTP DELETE method.
Do this instead:
parkingapi-farhad-*
You can also do it using a simple curl:
curl -XDELETE http://localhost:9500/parkingapi-farhad-*