Remove scan

POST https://daas.digicert.com/apicontroller/v1/scan/removeJobs
Use this endpoint to remove the scan job.

Example requests and responses

cURL

curl --location --request POST 'https://daas.digicert.com/apicontroller/v1/scan/removeJobs' \
--header 'X-DC-DEVKEY: {{api_key}}' \
--header 'Content-Type: application/json' \
--data-raw '{"accountId":"5153184","divisionId":677793,"scanIds":[294440]}'

200 OK

[
    {
        "error": null,
        "data": {
            "id": "294534",
            "message": "Scan remove successful"
        }
    }
]

Request parameters

NameReq/OptTypeDescription
scanIdsrequiredarrayList of unique IDs associated with individual scan jobs to remove.
accountIdrequiredstringAccount ID.
divisionIdrequiredintegerDivision ID.

Response parameters

NameTypeDescription
errorobjectIncludes the error code if any.
dataobjectObject container for response.
.. idstringID associated with the scan, also known as the  surveyDefId.
.. messagestringMessage with additional information about the request.