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.


Available since version: 1.8


multidimensional array with Hosts data

Parameter Type Optional Description Details
groupids array Host groupids to update.
hostids array Yes Hostids to remove from host groups.
templateids array Yes Templateids to remove from host groups.


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


Remove two hosts with ID "100100000010092", "100100000010086" from two host groups with ID "100100000000042", "100100000000013"

           "groupids": ["100100000000042","100100000000013"],
           "hostids": ["100100000010092","100100000010086"]

Host groups updated successfully: