Find and delete duplicate documents in Elasticsearch

Can you curl -H "Content-Type: application/json" -XGET localhost:9200/?