Use this endpoint to delete a scheduled scan job.
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}'
{
"error": null,
"data": "Future scan job deleted successfully"
}
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. |
Name | Type | Description |
---|---|---|
error | object | Includes the error code, if any. |
data | string | Message with information about the operation. |