object hostinterface.massremove(object parameters)
This method allows to remove host interfaces from the given hosts.
(object) Parameters containing the IDs of the hosts to be updated and the interfaces to be removed.
|string/array||IDs of the hosts to be updated.|
|object/array||Host interfaces to remove from the given hosts.
The host interface object must have the ip, dns and port properties defined
(object) Returns an object containing the IDs of the deleted host interfaces under the
Remove the "127.0.0.1" SNMP interface from two hosts.
CHostInterface::massRemove() in frontends/php/include/classes/api/services/CHostInterface.php.