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
==== Parameters ==== multidimensional array with Hosts data

Parameter Type Optional Description Details
hostids array Hostids to update
groupids array Yes Host groupids where hosts should be removed.
templateids array Yes Templateid which should be unlinked from hosts.
macros array Yes Macros which should be removed from hosts.


Parameter Description
result Operation successful. Result will contain array of updated Host IDs.
error In case of any errors


Remove from host with ID "100100000010092" two macros {$TEST1},{$TEST2}

           "hostids": ["100100000010092"],
           "macros": ["{$TEST1}","{$TEST2}"]

Hosts updated successfully: