templatescreen.delete

Description说明

object templatescreen.delete(array templateScreenIds)

This method allows to delete template screens此方法允许删除模板聚合图形.

Parameters参数

(array) IDs of the template screens to delete要删除的模板聚合图形的ID.

Return values返回值

(object) Returns an object containing the IDs of the deleted template screens under the screenids property.(object)返回一个包含screenids属性下删除的模板聚合图形ID的对象.

Examples范例

Delete multiple template screens删除多个模板聚合图形

Delete two template screens删除两个模板聚合图形.

Request请求:

  1. {
  2. "jsonrpc": "2.0",
  3. "method": "templatescreen.delete",
  4. "params": [
  5. "45",
  6. "46"
  7. ],
  8. "auth": "3a57200802b24cda67c4e4010b50c065",
  9. "id": 1
  10. }

Response响应:

  1. {
  2. "jsonrpc": "2.0",
  3. "result": {
  4. "screenids": [
  5. "45",
  6. "46"
  7. ]
  8. },
  9. "id": 1
  10. }

Source来源

CTemplateScreen::delete() in frontends/php/include/classes/api/services/CTemplateScreen.php.