Is there ny possibility in API to delete all hosts?
(I haven’t find anything about it it doc)
In fact what I want to do:
I’ve configurations files with my hosts, config, … I parse these file and generate host config with API.
But sometimes, I’ve new hosts, or I delete some hosts…, and I want to do something proper to do that.
- Perhaps delete all my hosts at the beginning I reload my monitoring?
- Or is there any possibility to check if host exist, update it if necessary, delete it if necessary, crete it if necessary, … without doing thousands and thousand curl on API?
Thanks for answers and ideas