使用此端點刪除一個或多個端點。刪除端點會永久移除端點和與掃描結果關聯的任何憑證。
curl -X POST \
https://daas.digicert.com/apicontroller/v1/reports/delete \
-H 'Content-Type: application/json' \
-H 'X-DC-DEVKEY: {{api_key}}' \
-d '{
"accountId": 5153184,
"divisionIds": [],
"ipPortList": [
{
"ip": "45.60.121.229",
"port": 443
},
{
"ip": "68.142.70.26",
"port": 3389
}
]
}'
{
"error": null,
"data": "Request accepted successfully"
}
名稱 | 必填/選填 | 類型 | 說明 |
---|---|---|---|
accountId | 必填 | string | 帳戶 ID。 |
divisionId | 必填 | array | 分部 ID。 |
ipPortList | 必填 | array | 從掃描結果中刪除的端點的 IP 和連接埠的清單。 |
.. ip | 必填 | string | 與端點關聯的 IP 位址。 |
.. port | 必填 | integer | 與端點關聯的連接埠。 |
名稱 | 類型 | 說明 |
---|---|---|
error | object | 納入錯誤代碼 (如果有)。 |
data | object | 有要求相關資訊的訊息。 |