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 请求:

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

    CTemplate::delete() in frontends/php/include/classes/api/services/CTemplate.php. CTemplate::delete()方法可在frontends/php/include/classes/api/services/CTemplate.php中参考。