Changes to Clear all docs for the given index

post/clear-docs/{index}