# Index deleting

**URL:** <https://discuss.elastic.co/t/index-deleting/132328>\
**Category:** Elasticsearch\
**Created:** [May 17, 2018, 12:20pm UTC](https://discuss.elastic.co/t/index-deleting/132328 "2018-05-17T12:20:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![asalma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/asalma/32/32199_2.png) [@asalma](https://discuss.elastic.co/u/asalma)\
**Post date:** [May 17, 2018, 12:20pm UTC](https://discuss.elastic.co/t/index-deleting/132328/1 "2018-05-17T12:20:06Z")

</div>

I want to delete index that I don't use and keep just what I need, how can I do this ?

![image](https://us1.discourse-cdn.com/elastic/original/3X/3/c/3c3623a7efdeddf01fdd415f243b40690bbfc7cc.png)

---

<div class="post-metadata">

**Author:** ![RahulD](https://avatars.discourse-cdn.com/v4/letter/r/da6949/32.png) [@RahulD](https://discuss.elastic.co/u/RahulD)\
**Post date:** [May 17, 2018, 12:34pm UTC](https://discuss.elastic.co/t/index-deleting/132328/2 "2018-05-17T12:34:32Z")

</div>

You can delete an index using the delete api, take a look at : [https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-delete-index.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-delete-index.html)

If you want to delete fields inside an index there is no good way to do that in ES. You need to create a new index with just the necessary fields and reindex from the old index.

---

<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:** [June 14, 2018, 12:34pm UTC](https://discuss.elastic.co/t/index-deleting/132328/3 "2018-06-14T12:34:36Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
