删除

描述

object screen.delete(array **screenIds**)

此方法允许删除聚合图形

参数

(array)删除聚合图形的IDs

返回值

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

示例如下

删除多个聚合图形

删除两个聚合图形

Request:

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

Response:

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

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