删除

Description 描述

object screenitem.delete(array **screenItemIds**)

This method allows to delete screen items. 此方法允许删除一个聚合图形项

Parameters 参数

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

Return values 返回值

(object) Returns an object containing the IDs of the deleted screen items under the screenitemids property. (object) 返回在screenitemids属性下包含已删除聚合图形项的id的对象。

Examples 示例如下

Deleting multiple screen items 删除多个聚合图像项

Delete two screen items. 删除两个聚合图形项

Request:

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

Response:

  1. {
  2. "jsonrpc": "2.0",
  3. "result": {
  4. "screenitemids": [
  5. "65",
  6. "63"
  7. ]
  8. },
  9. "id": 1
  10. }

See also

Source

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