This method allows to delete host prototypes.该方法允许删除主机原型。

    Returns an object containing the IDs of the deleted host prototypes under the property.返回一个包含“hostid”属性下删除的主机原型的ID的对象。

    Deleting multiple host prototypes删除多个主机原型

    Request:

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

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