--- title: "Abort scan" source_url: https://dev.digicert.com/certcentral-apis/discovery-api/scan-lifecycle/abort-scan.html api_method: POST api_endpoint: "/apicontroller/v1/scan/abort" api_url: "https://daas.digicert.com/apicontroller/v1/scan/abort" --- **POST** `https://daas.digicert.com/apicontroller/v1/scan/abort` Use this endpoint to terminate or abort the scan job. ## Example requests and responses ## cURL ```bash curl --location --request POST 'https://daas.digicert.com/apicontroller/v1/scan/abort' \ --header 'X-DC-DEVKEY: {{api_key}}' \ --header 'Content-Type: application/json' \ --data-raw '{"accountId":"5153184","divisionId":677793,"scanIds":[294440]}' ``` ## 200 OK ```json [ { "error": null, "data": { "id": "294440", "message": "Scan abort successful" } } ] ``` ## Request parameters
Name Req/Opt Type Description
scanIds required array List of unique IDs associated with individual scan jobs to abort.
accountId required string Account ID.
divisionId required integer Division ID.
## 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.