correlation.delete

描述

object correlation.delete(array correlationids)

此方法允许delete关联关系.

此方法仅适用于超级管理员用户类型. 调用该方法的权限可在用户角色设置中撤销. 详见 User roles 获取更多信息.

参数

(array) 要delete的关联ID。

返回值

(object) 返回一个包含被删除关联ID的object,这些ID位于correlationids属性下。

示例

删除多个关联

删除两条关联关系。

执行请求:

{
    "jsonrpc": "2.0",
    "method": "correlation.delete",
    "params": [
        "1",
        "2"
    ],
    "id": 1
}

响应:

{
    "jsonrpc": "2.0",
    "result": {
        "correlationids": [
            "1",
            "2"
        ]
    },
    "id": 1
}

来源

CCorrelation::delete() 位于 ui/include/classes/api/services/CCorrelation.php 文件中.