跳转至

导出一个/多个黑名单



POST /api/v1/blacklist/export

概述

导出一个/多个黑名单

Body 请求参数

参数名 类型 必选 说明
blacklistUUIDs array Y blacklist的uuid数组
允许为空: False

参数补充说明

请求例子

curl 'https://openapi.guance.com/api/v1/blacklist/export' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{"blacklistUUIDs":["blist_xxxx32"]}' \
--compressed

响应

{
    "code": 200,
    "content": {
        "pipelines": [
            {
                "asDefault": 0,
                "category": "logging",
                "content": "ZW51bWVyYXRl\n",
                "extend": {},
                "isDisable": false,
                "name": "eee",
                "source": [
                    "calico-node"
                ],
                "testData": "W10=\n"
            }
        ]
    },
    "errorCode": "",
    "message": "",
    "success": true,
    "traceId": "TRACE-AB60EC15-0E38-4229-A1E7-3457A9A3974B"
} 

文档评价

文档内容是否对您有帮助? ×