[DOCS] delete by query requires a top-level query parameter

Closes #5044
(cherry picked from commit 1e265b3)