Page 2 of 2
Re: can't decommission host via api
Posted: Wed May 11, 2016 4:39 pm
by ssax
Does this host have any services applied to it through templates?
Re: can't decommission host via api
Posted: Fri May 13, 2016 12:20 pm
by doneil326
all the services are applied to hosts groups that the hosts belong too.
Re: can't decommission host via api
Posted: Fri May 13, 2016 1:08 pm
by ssax
As a test, try removing the host from the hostgroups and then try removing the host with the API, that is likely the reason why it's failing because it still has services applied.
Re: can't decommission host via api
Posted: Fri May 13, 2016 1:24 pm
by ssax
Sorry, I just realized that lmitchev said that yesterday, at this time there is no workaround for it to achieve what you're looking for, the developers are aware of it though.