Page 1 of 1

API and template update/delete

Posted: Wed Jan 08, 2020 8:19 am
by mon-team
Hello,
i've a quick question: is there a way, using the Nagios XI API, to delete/update templates? (host and service template in particular)

Even if it's still not available a dedicated endpoint, i'm creating templates using the /config/import endpoint, and it works.
But i've not read anything about update/delete.

regards
Francesco

Re: API and template update/delete

Posted: Wed Jan 08, 2020 9:53 am
by lmiltchev
Currently adding/editing/deleting host and service templates via the REST API is not available in Nagios XI. I filed a feature request for adding this functionality in one of the future releases of Nagios XI. Please keep in mind that the decision to implement the enhancement is at the discretion of our development team. Thank you!

Re: API and template update/delete

Posted: Wed Jan 08, 2020 10:07 am
by mon-team
Ok,
perfect, thanks for your feedback!

Re: API and template update/delete

Posted: Wed Jan 08, 2020 10:09 am
by lmiltchev
Since the feature request has been already filed, I will be closing the topic now. If you have any further questions/issues, please start a new thread.