# Possibility of modifying "reindex.remote.whitelist" via API call?

**URL:** <https://discuss.elastic.co/t/possibility-of-modifying-reindex-remote-whitelist-via-api-call/74693>\
**Category:** Elasticsearch\
**Created:** [February 10, 2017, 5:37pm UTC](https://discuss.elastic.co/t/possibility-of-modifying-reindex-remote-whitelist-via-api-call/74693 "2017-02-10T17:37:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hartfordfive](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hartfordfive/32/44794_2.png) [@hartfordfive](https://discuss.elastic.co/u/hartfordfive)\
**Post date:** [February 10, 2017, 5:37pm UTC](https://discuss.elastic.co/t/possibility-of-modifying-reindex-remote-whitelist-via-api-call/74693/1 "2017-02-10T17:37:06Z")

</div>

Would it be possible to have the " **reindex.remote.whitelist**" setting modifiable via the HTTP API instead of having to specify it in the _elasticsearch.yml_ config? I realize this setting currently most likely requires a cluster restart, although it would be great if this could simply be implemented as a settings lookup each time the "/\_reindex" endpoint is called. If you agree and this is a reasonable request, I'd gladly create an issue in the github project to have the included in a future version.

Thank you

---

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [February 10, 2017, 6:29pm UTC](https://discuss.elastic.co/t/possibility-of-modifying-reindex-remote-whitelist-via-api-call/74693/2 "2017-02-10T18:29:52Z")

</div>

If it were dynamically updatable over the API it wouldn't offer any security whatsoever. The whole point of having the whitelist at all is to protect against users that have HTTP access to your Elasticsearch cluster but don't have file system access.

---

<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:** [March 10, 2017, 6:30pm UTC](https://discuss.elastic.co/t/possibility-of-modifying-reindex-remote-whitelist-via-api-call/74693/3 "2017-03-10T18:30:24Z")

</div>

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