Command
curl -X DELETE 'http://localhost:9200/my_index/_doc/1?pretty'
Examples
Delete user with ID=1
curl -X DELETE 'http://localhost:9200/users/_doc/1?pretty'
curl -X DELETE 'http://localhost:9200/my_index/_doc/1?pretty'
Delete user with ID=1
curl -X DELETE 'http://localhost:9200/users/_doc/1?pretty'