Delete scheduled job

POST https://daas.digicert.com/apicontroller/v1/scan/deleteFutureJob
Use this endpoint to delete a scheduled scan job.

Example requests and responses

cURL

curl --location --request POST 'https://daas.digicert.com/apicontroller/v1/scan/deleteFutureJob' \
--header 'X-DC-DEVKEY: {{api_key}}' \
--header 'Content-Type: application/json' \
--data-raw '{"surveyDefId":293746,"jobOccurrenceTime":1591182000000,"accountId":5153184,"divisionId":677793}'

200 OK

{
    "error": null,
    "data": "Future scan job deleted successfully"
}

Request parameters

NameReq/OptTypeDescription
accountIdrequiredstringAccount ID.
divisionIdrequiredintegerDivision ID.
surveyDefIdrequiredintegerSurvey definition ID of the scan. To get a list of surveyDefId values for your scans, use the scan list endpoint.
jobOccurrenceTimerequiredstringStart time of the scheduled job to delete.

Response parameters

NameTypeDescription
errorobjectIncludes the error code, if any.
datastringMessage with information about the operation.