elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.35k stars 7.98k forks source link

[Fleet] Add a `force` flag to agent policy delete API #182913

Open juliaElastic opened 1 week ago

juliaElastic commented 1 week ago

Agent policy delete API has a few validations that prevent deletion. It would be useful to add a force flag to bypass these validations, so it would be easier to delete an agent policy. The service already supports taking a force flag, it should just be added to the API as a request parameter.

elasticmachine commented 1 week ago

Pinging @elastic/fleet (Team:Fleet)