object host.delete(array hosts)
This method allows to delete hosts.
(array) IDs of hosts to delete.
The method can also accept an array of host objects with the
hostid property defined. This format is deprecated.
(object) Returns an object containing the IDs of the deleted hosts under the
Delete two hosts.
CHost::delete() in frontends/php/api/classes/CHost.php.