Rest function to delete the entire collection