object template.delete(array templateIds)
This method allows to delete templates此方法允许删除模板.
(array)
IDs of the templates to delete要删除的模板的ID.
(object)
Returns an object containing the IDs of the deleted templates under the templateids
property. (object)
返回一个对象,该对象包含templateids
属性下删除的模板的ID.
Delete two templates删除两个模板.
Request请求:
{
"jsonrpc": "2.0",
"method": "template.delete",
"params": [
"13",
"32"
],
"auth": "038e1d7b1735c6a5436ee9eae095879e",
"id": 1
}
Response响应:
CTemplate::delete() in frontends/php/include/classes/api/services/CTemplate.php.