Reinstate scan
less than a minute
POST
Use this endpoint to restore or reinstate the scan job.https://daas.digicert.com/apicontroller/v1/scan/reinstate
Example requests and responses
cURL
curl --location --request GET 'https://daas.digicert.com/apicontroller/v1/scan/reinstate' \
--header 'X-DC-DEVKEY: {{api_key}}' \
--header 'Content-Type: application/json' \
--data-raw '{"accountId":5153184,"divisionIds":[677793],"scanDefIds":[290718],"reason":"Duplicate scan"}'
200 OK
[
{
"error": null,
"data": {
"id": "290718",
"message": "Scan Reinstated Successfully"
}
}
]
Request parameters
| 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 reinstate. |
| reason | required | string | Reason for reinstating the scan. |
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. |
Was this page helpful?
Provide feedback