# Bulk delete using PHP API

**URL:** <https://discuss.elastic.co/t/bulk-delete-using-php-api/40498>\
**Category:** Elasticsearch\
**Created:** [January 29, 2016, 4:02pm UTC](https://discuss.elastic.co/t/bulk-delete-using-php-api/40498 "2016-01-29T16:02:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![despot](https://avatars.discourse-cdn.com/v4/letter/d/bc8723/32.png) [@despot](https://discuss.elastic.co/u/despot)\
**Post date:** [January 29, 2016, 4:02pm UTC](https://discuss.elastic.co/t/bulk-delete-using-php-api/40498/1 "2016-01-29T16:02:10Z")

</div>

Bulk delete using PHP API, how to do it, I have the latest elasticsearch untarballed and latest PHP API installed with composer. How to do bulk delete of document type? And how to do bulk delete of mixed document types, if this is possible? Thanks! Keep up the good work! 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 11:20pm UTC](https://discuss.elastic.co/t/bulk-delete-using-php-api/40498/2 "2017-07-05T23:20:19Z")

</div>


