This method allows to delete templates. 此方法允许删除模板。
(object)
Returns an object containing the IDs of the deleted templates under the templateids
property. 返回一个对象,包含templateids
属性中被删除模板的ID。
Deleting multiple templates 删除多个模板
Request 请求:
{
"jsonrpc": "2.0",
"result": {
"13",
"32"
]
},
}
CTemplate::delete() in frontends/php/include/classes/api/services/CTemplate.php. CTemplate::delete()方法可在frontends/php/include/classes/api/services/CTemplate.php中参考。