This method allows to simultaneously replace or remove related objects and update properties on multiple templates此方法允许同时替换或删除相关对象并更新多个模板上的属性.
Parameters参数
(object)
Parameters containing the IDs of the templates to update and the properties that should be updated包含要更新的模板的ID和应更新的属性的参数.
Additionally to the standard template properties, the method accepts the following parameters.除之外,该方法接受以下参数。
Examples范例
Replacing host groups更换主机组
Unlink and clear template “10091” from the given templates从给定的模板中取消链接并清除模板“10091”.
Request请求:
Response响应:
- {
- "jsonrpc": "2.0",
- "result": {
- "templateids": [
- "10085",
- "10086"
- },
- "id": 1
- }