# Where I set the variable ELASTIC\_CLIENT\_APIVERSIONING?

**URL:** <https://discuss.elastic.co/t/where-i-set-the-variable-elastic-client-apiversioning/304901>\
**Category:** Elasticsearch\
**Created:** [May 17, 2022, 8:29am UTC](https://discuss.elastic.co/t/where-i-set-the-variable-elastic-client-apiversioning/304901 "2022-05-17T08:29:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![frankmehlhop](https://avatars.discourse-cdn.com/v4/letter/f/74df32/32.png) [@frankmehlhop](https://discuss.elastic.co/u/frankmehlhop)\
**Post date:** [May 17, 2022, 8:29am UTC](https://discuss.elastic.co/t/where-i-set-the-variable-elastic-client-apiversioning/304901/1 "2022-05-17T08:29:46Z")

</div>

At the elastic [documentation](https://www.elastic.co/guide/en/elasticsearch/client/net-api/7.17/connecting-to-elasticsearch-v8.html) I read, that I should set the variable **ELASTIC\_CLIENT\_APIVERSIONING** on true. But where I should set the variable? At my device / Windows 11 as environment variable? Or in which configuration file?  
On a [other documentation](https://www.elastic.co/guide/en/elasticsearch/client/curator/current/configfile.html) I read about a curator.yml, but this file does not exist in my installation (elastic + kibana).

**Where I should set this variable?**

---

<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, 2022, 8:30am UTC](https://discuss.elastic.co/t/where-i-set-the-variable-elastic-client-apiversioning/304901/2 "2022-06-14T08:30:12Z")

</div>

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