# Disabling an integration in fleet

**URL:** <https://discuss.elastic.co/t/disabling-an-integration-in-fleet/327600>\
**Category:** Elastic Agent\
**Created:** [March 13, 2023, 10:00pm UTC](https://discuss.elastic.co/t/disabling-an-integration-in-fleet/327600 "2023-03-13T22:00:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcoderama](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marcoderama/32/117770_2.png) [@marcoderama](https://discuss.elastic.co/u/marcoderama)\
**Post date:** [March 13, 2023, 10:00pm UTC](https://discuss.elastic.co/t/disabling-an-integration-in-fleet/327600/1 "2023-03-13T22:00:58Z")

</div>

I'm testing various agent policy incantations within fleet so I have a bunch of them now. As such, I have more going on at once than I'd like. It would be useful if I could mark an agent policy as "disabled" within fleet. Is that doable? I can't see how.

It would seem all I can do is delete the agent policy and recreate it later if I want it back. I've tried giving the integration invalid authentication credentials, which kinda works but still leaves the logs cluttered with noise. Since I'm doing experiments wrt authentication settings, it makes it hard to find any errors related to the agent policy I'm testing.

An alternative would be if I could disable an integration within an agent policy. I don't see how to do that either though.

Anyone know how to do either of those things?

thanks,  
Marco

---

<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:** [April 10, 2023, 10:01pm UTC](https://discuss.elastic.co/t/disabling-an-integration-in-fleet/327600/2 "2023-04-10T22:01:53Z")

</div>

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