Use this endpoint to delete the selected scan templates.
curl --location --request POST 'https://daas.digicert.com/apicontroller/v1/scan/delete' \
--header 'X-DC-DEVKEY: {{api_key}}' \
--header 'Content-Type: application/json' \
--data-raw '{"accountId":5153184,"divisionIds":[677793],"scanDefIds":[293514],"reason":"Duplicate scan"}'
[
{
"error": null,
"data": {
"id": "293514",
"message": "Scan delete successful"
}
}
]
Name | Req/Opt | Type | Description |
---|---|---|---|
accountId | required | string | Account ID. |
divisionId | required | array | Division ID. |
scanDefIds | required | array | List of unique IDs for scan templates to delete. |
reason | required | string | Reason for deleting the scan. |
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. |