This is the documentation page for an unsupported version of Zabbix.
Is this not what you were looking for? Switch to the current version or choose one from the drop-down menu.
Table of Contents


Available since version: 1.8.3
This function allows you to check whether template with given template name or template ID exists.


Parameter Type Optional Description Details
nodeids array yes List of node IDs where to search for given template ID or template name
hostid string yes Template ID
host string yes Template name


Parameter Description
result Operation successful. Result will contain boolean variable.
error In case of any errors


          "nodeids": ["1"],
          "host": "Template Linux"

Template exists:

       "result": true,