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:
- {
- "jsonrpc": "2.0",
- "result": {
- "10103",
- "10105"
- ]
- },
- }
CHostPrototype::delete() in frontends/php/include/classes/api/services/CHostPrototype.php.