--- title: "Suspend scan" source_url: https://dev.digicert.com/certcentral-apis/discovery-api/scan-lifecycle/suspend-scan.html api_method: POST api_endpoint: "/apicontroller/v1/scan/suspend" api_url: "https://daas.digicert.com/apicontroller/v1/scan/suspend" --- **POST** `https://daas.digicert.com/apicontroller/v1/scan/suspend` Use this endpoint to suspend the scan job. ## Example requests and responses ## cURL ```bash curl --location --request POST 'https://daas.digicert.com/apicontroller/v1/scan/suspend' \ --header 'X-DC-DEVKEY: {{api_key}}' \ --header 'Content-Type: application/json' \ --data-raw '{"accountId":5153184,"divisionIds":[677793],"scanDefIds":[290718],"reason":"Duplicate scan"}' ``` ## 200 OK ```json [ { "error": null, "data": { "id": "290718", "message": "Scan Suspended Successfully" } } ] ``` ## Request parameters
Name Req/Opt Type Description
accountId required string Account ID.
divisionIds required array Division IDs.
scanDefIds required array List of unique IDs for scan templates to suspend.
reason optional string Reason for suspending 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.