Delete endpoints

POST
https://daas.digicert.com/apicontroller/v1/reports/delete

Use this endpoint to delete one or more endpoints. Deleting an endpoint permanently removes the endpoints and any certificates associated with the scan results.

cURL
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
        }
    ]
}'
200 OK
{
    "error": null,
    "data": "Request accepted successfully"
}

Request parameters

Name Req/Opt Type Description
accountId required string Account ID.
divisionId required array Division ID.
ipPortList required array List of IPs and ports for the endpoints to delete from the scan results.
.. ip required string IP address associated with the endpoint.
.. port required integer Port associated with the endpoint.

Response parameters

Name Type Description
error object Includes the error code, if any.
data object Message with information about the request.