Rest API: indices.delete should have "index" as a required param
[DOCS] Corrected syntax error in search curl cmd

Closes #8447