We are experiencing some weird behaviour when trying to delete a stream.
Here you can find a detailed description of the issue:
The HTTP API is giving consistent replies yet different from documentation specifics.
- First, a DELETE has to be sent with a Content-Type header defined. ES would reply 415 otherwise.
- With Content-Type defined, a DELETE gets 204 (correct) from ES and the stream is deleted as expected (yet, it will still be displayed on the panel. Clicking on it would result in a white page)
- Doing a double DELETE request on the same stream results in a “410” reply
- Doing a POST or a GET on a deleted stream also results in a “410” reply
Will these replies be consistent over time? Or there is any chance that they are a WIP and will change anytime soon? We are planning to use ES in production with a custom driver and it would be good to know what to expect.
Why isn’t the documentation updated? Should we simply ignore the DELETE section as it is out-of-date?
Thanks and have a great day