# Deleting a specific mapping/property within an index

**URL:** <https://discuss.elastic.co/t/deleting-a-specific-mapping-property-within-an-index/9082>\
**Category:** Elasticsearch\
**Created:** [September 20, 2012, 8:43pm UTC](https://discuss.elastic.co/t/deleting-a-specific-mapping-property-within-an-index/9082 "2012-09-20T20:43:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![coys](https://avatars.discourse-cdn.com/v4/letter/c/eb8c5e/32.png) [@coys](https://discuss.elastic.co/u/coys)\
**Post date:** [September 20, 2012, 8:43pm UTC](https://discuss.elastic.co/t/deleting-a-specific-mapping-property-within-an-index/9082/1 "2012-09-20T20:43:19Z")

</div>

Hi, I've indexed some of my documents and built an index, some of the  
properties are for e.g.  
"ownership" : {  
"dynamic" : "true",  
"properties" : {  
"author" : {  
"type" : "string"  
}  
}  
},  
"plans" : {  
"type" : "string"  
},  
It also has another property components, whose mapping I had not  
specified and now it's messed up my index,  
"components" : {  
"dynamic" : "true",  
"properties" : {  
"ABC" : {  
"dynamic" : "true",  
I want to keep the rest of my index intact but delete the property/  
mapping for components. Can someone please tell me how to do this?  
I've tried curl -XDELETE '[http://localhost:9200/holisticsuites/suites/](http://localhost:9200/holisticsuites/suites/)  
components/' but to no avail. Thanks

--

---

<div class="post-metadata">

**Author:** ![coys](https://avatars.discourse-cdn.com/v4/letter/c/eb8c5e/32.png) [@coys](https://discuss.elastic.co/u/coys)\
**Post date:** [September 24, 2012, 3:45pm UTC](https://discuss.elastic.co/t/deleting-a-specific-mapping-property-within-an-index/9082/2 "2012-09-24T15:45:58Z")

</div>

Hi, I found to link to a new thread which says this is not possible,  
[http://groups.google.com/group/elasticsearch/browse\_frm/thread/5304086bbd4e68cf/5fe7859e93af671b?lnk=gst&q=delete#5fe7859e93af671b](http://groups.google.com/group/elasticsearch/browse_frm/thread/5304086bbd4e68cf/5fe7859e93af671b?lnk=gst&q=delete#5fe7859e93af671b)

Can someone please confirm that this is right and I need to build a  
new index again, or is it actually possible to delete a specific  
property attribute from the mapping?  
Thanks!

--

---

<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, 3:11am UTC](https://discuss.elastic.co/t/deleting-a-specific-mapping-property-within-an-index/9082/3 "2017-07-06T03:11:42Z")

</div>


