# Rename an index?

**URL:** <https://discuss.elastic.co/t/rename-an-index/4239>\
**Category:** Elasticsearch\
**Created:** [April 14, 2011, 10:45pm UTC](https://discuss.elastic.co/t/rename-an-index/4239 "2011-04-14T22:45:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![timscott](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timscott/32/3220_2.png) [@timscott](https://discuss.elastic.co/u/timscott)\
**Post date:** [April 14, 2011, 10:45pm UTC](https://discuss.elastic.co/t/rename-an-index/4239/1 "2011-04-14T22:45:35Z")

</div>

Is it possible to rename and index? The index API page says,  
"Renaming an index is a simple remove then add operation within the  
same API." But the example shown renames the alias only, not the  
index, I believe. I would like to no longer be able to access the  
index using it's original name. Possible?

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [April 14, 2011, 10:46pm UTC](https://discuss.elastic.co/t/rename-an-index/4239/2 "2011-04-14T22:46:55Z")

</div>

No, there is no option to rename an index, but you can get similar notion using aliases.  
On Friday, April 15, 2011 at 1:45 AM, Tim Scott wrote:

> Is it possible to rename and index? The index API page says,  
> "Renaming an index is a simple remove then add operation within the  
> same API." But the example shown renames the alias only, not the  
> index, I believe. I would like to no longer be able to access the  
> index using it's original name. Possible?

---

<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, 4:08am UTC](https://discuss.elastic.co/t/rename-an-index/4239/3 "2017-07-06T04:08:20Z")

</div>


