api call to determine templates applied to host?
Posted: Mon Feb 13, 2017 3:41 pm
I'm using templates for a few things in xi, and would like to be able to programmatically determine if a template is applied (using the template when creating the host is straightforward, now I want to be able to query for what templates a host has applied).
It doesnt appear that is possible. Am I missing something? An ability to use a template via the api without the ability to query for it later seems awkward.
Also, templates can be applied via the api with use=<template>... can templates be removed via api call?
thanks,
-Luke
It doesnt appear that is possible. Am I missing something? An ability to use a template via the api without the ability to query for it later seems awkward.
Also, templates can be applied via the api with use=<template>... can templates be removed via api call?
thanks,
-Luke