Use the Enrich Job Cancellation endpoint to cancel a job submitted but not yet processed.
Endpoint
DELETE https://api.insideview.com/api/v1/enrich/job/{jobId}
Request
HTTP Headers
Header Name | Type | Required | Description |
accessToken | String | Yes |
Valid access token. |
Accept | String | No |
Selects the response's content type. |
URI Parameters
Parameter Name | Type | Required | Description |
jobId | String | Yes | Job ID |
Responses
Here are the major responses the API may return.
For details on the errors, see API Error Codes.
HTTP 200
Returns either a JSON or XML data structure depending on the request Accept header.
application/json Example
{ "jobId":"k4rv9gbthc6lgguadtcd", "status":"aborted", "type": "enrich" }
application/xml Example
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <BulkLeadEnrichmentStatus> <jobId>k4rv9gbthc6lgguadtcd</jobId> <status>aborted</status> <type>enrich</type> </BulkLeadEnrichmentStatus>
HTTP 400
Invalid query parameter(s).
HTTP 401
Unauthorized Error - Cannot use API's without setting a valid accessToken in header.
HTTP 405
Method Not Allowed - Your are not allowed to access this API.
HTTP 404
Invalid ID, record not found.
HTTP 429
Request is throttled.