This method allows to delete hosts.此方法允许删除主机。

    Returns an object containing the IDs of the deleted hosts under the property.返回一个对象其中包含在hostids属性下已删除主机的ID。

    Deleting multiple hosts 删除多个主机

    Request:

    1. {
    2. "jsonrpc": "2.0",
    3. "result": {
    4. "13",
    5. "32"
    6. ]
    7. },
    8. }

    CHost::delete() in frontends/php/include/classes/api/services/CHost.php.