correlation.delete

Description说明

object correlation.delete(array correlationids)

This method allows to delete correlations.该方法允许删除关联。

Parameters 参数

(array) IDs of the correlations to delete.要删除的关联的ID

Return values返回值

(object) Returns an object containing the IDs of the deleted correlations under the correlationids property.返回一个对象,该对象包含“相关性”属性下删除的关联的ID。

Example示例

Delete multiple correlations删除多个关联

Delete two correlations.删除两个关联

Request:

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

Response:

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

Source来源

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