Bulk delete in elasticsearch

If I have to send this body from code (using http.post method). each entry would be a different element in the array, right?

for example

body[0] = { "delete" : { "_id" : "1" } }
body[1] = { "delete" : { "_id" : "2" } }