Bulk delete in elasticsearch

in this link delete by id works. do we have same method for ruby as well?