Remove scan

POST
https://daas.digicert.com/apicontroller/v1/scan/removeJobs

Use this endpoint to remove the scan job.

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":[294534]}'
200 OK
[
    {
        "error": null,
        "data": {
            "id": "294534",
            "message": "Scan remove successful"
        }
    }
]

Request parameters

Name Req/Opt Type Description
scanIds required array List of unique IDs associated with individual scan jobs to remove.
accountId required string Account ID.
divisionId required integer Division ID.

Response parameters

Name Type Description
error object Includes the error code, if any.
data object Object container for response.
.. id string ID associated with the scan, also known as the surveydefid.
.. message string Message with additional information about the request.