# How to disable DELETE API

**URL:** <https://discuss.elastic.co/t/how-to-disable-delete-api/18867>\
**Category:** Elasticsearch\
**Created:** [July 24, 2014, 2:50pm UTC](https://discuss.elastic.co/t/how-to-disable-delete-api/18867 "2014-07-24T14:50:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vijay\_Dodla](https://avatars.discourse-cdn.com/v4/letter/v/dfb087/32.png) [@Vijay\_Dodla](https://discuss.elastic.co/u/Vijay_Dodla)\
**Post date:** [July 24, 2014, 2:50pm UTC](https://discuss.elastic.co/t/how-to-disable-delete-api/18867/1 "2014-07-24T14:50:15Z")

</div>

Hi  
I'm trying to disable DELETE API option from sense or via HTTP and was not  
able to do it . My requirement is make DELETE API not available so that  
user will not accidentally delete any index . I tried the following in .yml  
file and restarted the server ,but still i'm able to DELETE any index .Is  
there something i'm missing ?

Access-Control-Allow-Methods: OPTIONS, POST, GET, PUT  
Access-Control-Allow-Headers: X-Requested-With, Content-Type, Content-Length

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/cf3ca0be-7ea1-4c6d-af69-58dde27b1565%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/cf3ca0be-7ea1-4c6d-af69-58dde27b1565%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [August 4, 2014, 8:31am UTC](https://discuss.elastic.co/t/how-to-disable-delete-api/18867/2 "2014-08-04T08:31:24Z")

</div>

Hi,

Elasticsearch currently does not allow you to enable/disable specific HTTP  
methods. If you need that kind of security, please use a nginx or another  
webserver in front of Elasticsearch which does this.

--Alex

On Thu, Jul 24, 2014 at 4:50 PM, Vijay Dodla [vijay.remedy@gmail.com](mailto:vijay.remedy@gmail.com) wrote:

> Hi  
> I'm trying to disable DELETE API option from sense or via HTTP and was not  
> able to do it . My requirement is make DELETE API not available so that  
> user will not accidentally delete any index . I tried the following in .yml  
> file and restarted the server ,but still i'm able to DELETE any index .Is  
> there something i'm missing ?
> 
> Access-Control-Allow-Methods: OPTIONS, POST, GET, PUT  
> Access-Control-Allow-Headers: X-Requested-With, Content-Type,  
> Content-Length
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/cf3ca0be-7ea1-4c6d-af69-58dde27b1565%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/cf3ca0be-7ea1-4c6d-af69-58dde27b1565%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/cf3ca0be-7ea1-4c6d-af69-58dde27b1565%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/cf3ca0be-7ea1-4c6d-af69-58dde27b1565%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAGCwEM-7tAHcW71XFdoWBdNkcFgFy6CWPr%2BkYTCr\_2k6\_dz%3Dow%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAGCwEM-7tAHcW71XFdoWBdNkcFgFy6CWPr%2BkYTCr_2k6_dz%3Dow%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Vijay\_Dodla](https://avatars.discourse-cdn.com/v4/letter/v/dfb087/32.png) [@Vijay\_Dodla](https://discuss.elastic.co/u/Vijay_Dodla)\
**Post date:** [August 4, 2014, 1:27pm UTC](https://discuss.elastic.co/t/how-to-disable-delete-api/18867/3 "2014-08-04T13:27:04Z")

</div>

Thanks Alexander . Not sure why we have setting in .yml file for  
Access-Control-Allow-Methods: OPTIONS, POST, GET, PUT . This raises  
question on the configuration usage .

On Mon, Aug 4, 2014 at 3:31 AM, Alexander Reelsen [alr@spinscale.de](mailto:alr@spinscale.de) wrote:

> Hi,
> 
> Elasticsearch currently does not allow you to enable/disable specific HTTP  
> methods. If you need that kind of security, please use a nginx or another  
> webserver in front of Elasticsearch which does this.
> 
> --Alex
> 
> On Thu, Jul 24, 2014 at 4:50 PM, Vijay Dodla [vijay.remedy@gmail.com](mailto:vijay.remedy@gmail.com)  
> wrote:
> 
> > Hi  
> > I'm trying to disable DELETE API option from sense or via HTTP and was  
> > not able to do it . My requirement is make DELETE API not available so that  
> > user will not accidentally delete any index . I tried the following in .yml  
> > file and restarted the server ,but still i'm able to DELETE any index .Is  
> > there something i'm missing ?
> > 
> > Access-Control-Allow-Methods: OPTIONS, POST, GET, PUT  
> > Access-Control-Allow-Headers: X-Requested-With, Content-Type,  
> > Content-Length
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/cf3ca0be-7ea1-4c6d-af69-58dde27b1565%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/cf3ca0be-7ea1-4c6d-af69-58dde27b1565%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/cf3ca0be-7ea1-4c6d-af69-58dde27b1565%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/cf3ca0be-7ea1-4c6d-af69-58dde27b1565%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> You received this message because you are subscribed to a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/F7m2eTP2GOA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/F7m2eTP2GOA/unsubscribe).  
> To unsubscribe from this group and all its topics, send an email to  
> [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/CAGCwEM-7tAHcW71XFdoWBdNkcFgFy6CWPr%2BkYTCr\_2k6\_dz%3Dow%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAGCwEM-7tAHcW71XFdoWBdNkcFgFy6CWPr%2BkYTCr_2k6_dz%3Dow%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CAGCwEM-7tAHcW71XFdoWBdNkcFgFy6CWPr%2BkYTCr\_2k6\_dz%3Dow%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAGCwEM-7tAHcW71XFdoWBdNkcFgFy6CWPr%2BkYTCr_2k6_dz%3Dow%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
Thanks,  
Vijay Dodla.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CADw3ZMQ%3Dmc--TGTxRru2H5vu5T6\_\_W%2Bk7-ZsYB-qgvJ6Gi374Q%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CADw3ZMQ%3Dmc--TGTxRru2H5vu5T6__W%2Bk7-ZsYB-qgvJ6Gi374Q%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [August 4, 2014, 5:01pm UTC](https://discuss.elastic.co/t/how-to-disable-delete-api/18867/4 "2014-08-04T17:01:07Z")

</div>

The options are for cross origin resource sharing (CORS) only

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

Jörg

On Mon, Aug 4, 2014 at 3:27 PM, Vijay Dodla [vijay.remedy@gmail.com](mailto:vijay.remedy@gmail.com) wrote:

> Thanks Alexander . Not sure why we have setting in .yml file for  
> Access-Control-Allow-Methods: OPTIONS, POST, GET, PUT . This raises  
> question on the configuration usage .
> 
> On Mon, Aug 4, 2014 at 3:31 AM, Alexander Reelsen [alr@spinscale.de](mailto:alr@spinscale.de)  
> wrote:
> 
> > Hi,
> > 
> > Elasticsearch currently does not allow you to enable/disable specific  
> > HTTP methods. If you need that kind of security, please use a nginx or  
> > another webserver in front of Elasticsearch which does this.
> > 
> > --Alex
> > 
> > On Thu, Jul 24, 2014 at 4:50 PM, Vijay Dodla [vijay.remedy@gmail.com](mailto:vijay.remedy@gmail.com)  
> > wrote:
> > 
> > > Hi  
> > > I'm trying to disable DELETE API option from sense or via HTTP and was  
> > > not able to do it . My requirement is make DELETE API not available so that  
> > > user will not accidentally delete any index . I tried the following in .yml  
> > > file and restarted the server ,but still i'm able to DELETE any index .Is  
> > > there something i'm missing ?
> > > 
> > > Access-Control-Allow-Methods: OPTIONS, POST, GET, PUT  
> > > Access-Control-Allow-Headers: X-Requested-With, Content-Type,  
> > > Content-Length
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google  
> > > Groups "elasticsearch" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send  
> > > an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > > To view this discussion on the web visit  
> > > [https://groups.google.com/d/msgid/elasticsearch/cf3ca0be-7ea1-4c6d-af69-58dde27b1565%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/cf3ca0be-7ea1-4c6d-af69-58dde27b1565%40googlegroups.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/cf3ca0be-7ea1-4c6d-af69-58dde27b1565%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/cf3ca0be-7ea1-4c6d-af69-58dde27b1565%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > .  
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > You received this message because you are subscribed to a topic in the  
> > Google Groups "elasticsearch" group.  
> > To unsubscribe from this topic, visit  
> > [https://groups.google.com/d/topic/elasticsearch/F7m2eTP2GOA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/F7m2eTP2GOA/unsubscribe).  
> > To unsubscribe from this group and all its topics, send an email to  
> > [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).
> > 
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/CAGCwEM-7tAHcW71XFdoWBdNkcFgFy6CWPr%2BkYTCr\_2k6\_dz%3Dow%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAGCwEM-7tAHcW71XFdoWBdNkcFgFy6CWPr%2BkYTCr_2k6_dz%3Dow%40mail.gmail.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/CAGCwEM-7tAHcW71XFdoWBdNkcFgFy6CWPr%2BkYTCr\_2k6\_dz%3Dow%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAGCwEM-7tAHcW71XFdoWBdNkcFgFy6CWPr%2BkYTCr_2k6_dz%3Dow%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> Thanks,  
> Vijay Dodla.
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/CADw3ZMQ%3Dmc--TGTxRru2H5vu5T6\_\_W%2Bk7-ZsYB-qgvJ6Gi374Q%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CADw3ZMQ%3Dmc--TGTxRru2H5vu5T6__W%2Bk7-ZsYB-qgvJ6Gi374Q%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CADw3ZMQ%3Dmc--TGTxRru2H5vu5T6\_\_W%2Bk7-ZsYB-qgvJ6Gi374Q%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CADw3ZMQ%3Dmc--TGTxRru2H5vu5T6__W%2Bk7-ZsYB-qgvJ6Gi374Q%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGN2iGyQ%3DdDQsyU%3DWERyZVs9AWRG7n%2Buge-xzN-ONf5cA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGN2iGyQ%3DdDQsyU%3DWERyZVs9AWRG7n%2Buge-xzN-ONf5cA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [August 6, 2014, 6:41am UTC](https://discuss.elastic.co/t/how-to-disable-delete-api/18867/5 "2014-08-06T06:41:23Z")

</div>

Hey,

CORS is not about doing anything secure from a data point of view, but  
about telling the browser how to behave. Does not have any impact on the  
elasticsearch side. See [web.dev](http://www.html5rocks.com/en/tutorials/cors/)

--Alex

On Mon, Aug 4, 2014 at 7:01 PM, [joergprante@gmail.com](mailto:joergprante@gmail.com) \<[joergprante@gmail.com](mailto:joergprante@gmail.com)

> wrote:

> The options are for cross origin resource sharing (CORS) only
> 
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-http.html#modules-http)
> 
> Jörg
> 
> On Mon, Aug 4, 2014 at 3:27 PM, Vijay Dodla [vijay.remedy@gmail.com](mailto:vijay.remedy@gmail.com)  
> wrote:
> 
> > Thanks Alexander . Not sure why we have setting in .yml file for  
> > Access-Control-Allow-Methods: OPTIONS, POST, GET, PUT . This raises  
> > question on the configuration usage .
> > 
> > On Mon, Aug 4, 2014 at 3:31 AM, Alexander Reelsen [alr@spinscale.de](mailto:alr@spinscale.de)  
> > wrote:
> > 
> > > Hi,
> > > 
> > > Elasticsearch currently does not allow you to enable/disable specific  
> > > HTTP methods. If you need that kind of security, please use a nginx or  
> > > another webserver in front of Elasticsearch which does this.
> > > 
> > > --Alex
> > > 
> > > On Thu, Jul 24, 2014 at 4:50 PM, Vijay Dodla [vijay.remedy@gmail.com](mailto:vijay.remedy@gmail.com)  
> > > wrote:
> > > 
> > > > Hi  
> > > > I'm trying to disable DELETE API option from sense or via HTTP and was  
> > > > not able to do it . My requirement is make DELETE API not available so that  
> > > > user will not accidentally delete any index . I tried the following in .yml  
> > > > file and restarted the server ,but still i'm able to DELETE any index .Is  
> > > > there something i'm missing ?
> > > > 
> > > > Access-Control-Allow-Methods: OPTIONS, POST, GET, PUT  
> > > > Access-Control-Allow-Headers: X-Requested-With, Content-Type,  
> > > > Content-Length
> > > > 
> > > > --  
> > > > You received this message because you are subscribed to the Google  
> > > > Groups "elasticsearch" group.  
> > > > To unsubscribe from this group and stop receiving emails from it, send  
> > > > an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > > > To view this discussion on the web visit  
> > > > [https://groups.google.com/d/msgid/elasticsearch/cf3ca0be-7ea1-4c6d-af69-58dde27b1565%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/cf3ca0be-7ea1-4c6d-af69-58dde27b1565%40googlegroups.com)  
> > > > [https://groups.google.com/d/msgid/elasticsearch/cf3ca0be-7ea1-4c6d-af69-58dde27b1565%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/cf3ca0be-7ea1-4c6d-af69-58dde27b1565%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > .  
> > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > 
> > > --  
> > > You received this message because you are subscribed to a topic in the  
> > > Google Groups "elasticsearch" group.  
> > > To unsubscribe from this topic, visit  
> > > [https://groups.google.com/d/topic/elasticsearch/F7m2eTP2GOA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/F7m2eTP2GOA/unsubscribe).  
> > > To unsubscribe from this group and all its topics, send an email to  
> > > [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).
> > > 
> > > To view this discussion on the web visit  
> > > [https://groups.google.com/d/msgid/elasticsearch/CAGCwEM-7tAHcW71XFdoWBdNkcFgFy6CWPr%2BkYTCr\_2k6\_dz%3Dow%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAGCwEM-7tAHcW71XFdoWBdNkcFgFy6CWPr%2BkYTCr_2k6_dz%3Dow%40mail.gmail.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/CAGCwEM-7tAHcW71XFdoWBdNkcFgFy6CWPr%2BkYTCr\_2k6\_dz%3Dow%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAGCwEM-7tAHcW71XFdoWBdNkcFgFy6CWPr%2BkYTCr_2k6_dz%3Dow%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > .  
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > Thanks,  
> > Vijay Dodla.
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/CADw3ZMQ%3Dmc--TGTxRru2H5vu5T6\_\_W%2Bk7-ZsYB-qgvJ6Gi374Q%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CADw3ZMQ%3Dmc--TGTxRru2H5vu5T6__W%2Bk7-ZsYB-qgvJ6Gi374Q%40mail.gmail.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/CADw3ZMQ%3Dmc--TGTxRru2H5vu5T6\_\_W%2Bk7-ZsYB-qgvJ6Gi374Q%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CADw3ZMQ%3Dmc--TGTxRru2H5vu5T6__W%2Bk7-ZsYB-qgvJ6Gi374Q%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > .
> > 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGN2iGyQ%3DdDQsyU%3DWERyZVs9AWRG7n%2Buge-xzN-ONf5cA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGN2iGyQ%3DdDQsyU%3DWERyZVs9AWRG7n%2Buge-xzN-ONf5cA%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGN2iGyQ%3DdDQsyU%3DWERyZVs9AWRG7n%2Buge-xzN-ONf5cA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGN2iGyQ%3DdDQsyU%3DWERyZVs9AWRG7n%2Buge-xzN-ONf5cA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAGCwEM\_Zq%2BaUv8rCpnad5Q0H5Qzp0oXjPA-4QQZezkyOJe4S7A%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAGCwEM_Zq%2BaUv8rCpnad5Q0H5Qzp0oXjPA-4QQZezkyOJe4S7A%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 1:10am UTC](https://discuss.elastic.co/t/how-to-disable-delete-api/18867/6 "2017-07-06T01:10:35Z")

</div>


