删除

描述

object screen.delete(array screenIds)

此方法允许删除聚合图形

参数

(array)删除聚合图形的IDs

返回值

(object) 返回包含screenids属性下的已删除屏幕的id的对象。

示例如下

删除多个聚合图形

删除两个聚合图形

Request:

{
           "jsonrpc": "2.0",
           "method": "screen.delete",
           "params": [
               "25",
               "26"
           ],
           "auth": "3a57200802b24cda67c4e4010b50c065",
           "id": 1
       }

Response:

{
           "jsonrpc": "2.0",
           "result": {
               "screenids": [
                   "25",
                   "26"
               ]
           },
           "id": 1
       }

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