# Enable / disable shield using api - 2.3

**URL:** <https://discuss.elastic.co/t/enable-disable-shield-using-api-2-3/69852>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [December 22, 2016, 10:42pm UTC](https://discuss.elastic.co/t/enable-disable-shield-using-api-2-3/69852 "2016-12-22T22:42:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sampathkumar23](https://avatars.discourse-cdn.com/v4/letter/s/2acd7d/32.png) [@sampathkumar23](https://discuss.elastic.co/u/sampathkumar23)\
**Post date:** [December 22, 2016, 10:42pm UTC](https://discuss.elastic.co/t/enable-disable-shield-using-api-2-3/69852/1 "2016-12-22T22:42:06Z")

</div>

I know that Shield can be enabled / disabled using yml property. Is there a way to turn on and off Shield using Api?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 27, 2016, 5:48am UTC](https://discuss.elastic.co/t/enable-disable-shield-using-api-2-3/69852/2 "2016-12-27T05:48:58Z")

</div>

Nope.

---

<div class="post-metadata">

**Author:** ![sampathkumar23](https://avatars.discourse-cdn.com/v4/letter/s/2acd7d/32.png) [@sampathkumar23](https://discuss.elastic.co/u/sampathkumar23)\
**Post date:** [December 27, 2016, 6:04am UTC](https://discuss.elastic.co/t/enable-disable-shield-using-api-2-3/69852/3 "2016-12-27T06:04:03Z")

</div>

Thanks for response.

---

<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:** [January 24, 2017, 6:04am UTC](https://discuss.elastic.co/t/enable-disable-shield-using-api-2-3/69852/4 "2017-01-24T06:04:22Z")

</div>

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