Delete scheduled job

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

Use this endpoint to delete a scheduled scan job.

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

Name Req/Opt Type Description
accountId required string Account ID.
divisionId required integer Division ID.
surveyDefId required integer Survey definition ID of the scan.
To get a list of surveyDefId values for your scans, use the scan list endpoint.
jobOccurrenceTime required string Start time of the scheduled job to delete.

Response parameters

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