# Need to have an API to refresh index pattern manually

**URL:** <https://discuss.elastic.co/t/need-to-have-an-api-to-refresh-index-pattern-manually/178658>\
**Category:** Kibana\
**Created:** [April 26, 2019, 2:25pm UTC](https://discuss.elastic.co/t/need-to-have-an-api-to-refresh-index-pattern-manually/178658 "2019-04-26T14:25:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![preddy75](https://avatars.discourse-cdn.com/v4/letter/p/a88e4f/32.png) [@preddy75](https://discuss.elastic.co/u/preddy75)\
**Post date:** [April 26, 2019, 2:25pm UTC](https://discuss.elastic.co/t/need-to-have-an-api-to-refresh-index-pattern-manually/178658/1 "2019-04-26T14:25:34Z")

</div>

Lukas,

Can you post the API we would hit to manually refresh an index pattern via curl? We are having an issue with this in production and need to create a job to do this in a loop.

Continuing the discussion from [Refresh mappings for index-pattern automatically](https://discuss.elastic.co/t/refresh-mappings-for-index-pattern-automatically/91946/4):

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [April 26, 2019, 4:29pm UTC](https://discuss.elastic.co/t/need-to-have-an-api-to-refresh-index-pattern-manually/178658/2 "2019-04-26T16:29:39Z")

</div>

Hey @preddy75, this isn't currently possible using a documented and supported API, I'd recommend opening a [feature request](https://github.com/elastic/kibana/issues/new?template=Feature_request.md) for this ability.

---

<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:** [May 24, 2019, 4:29pm UTC](https://discuss.elastic.co/t/need-to-have-an-api-to-refresh-index-pattern-manually/178658/3 "2019-05-24T16:29:41Z")

</div>

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