删除

Description 描述

object screen.delete(array screenIds)

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

Parameters 参数

(array) IDs of the screens to delete. (array)删除聚合图形的IDs

Return values 返回值

(object) Returns an object containing the IDs of the deleted screens under the screenids property. (object) 返回包含screenids属性下的已删除屏幕的id的对象。

Examples 示例如下

Deleting multiple screens 删除多个聚合图形

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

Request:

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

Response:

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

Source

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