Skip to main content

Cancel

Cancels a running job. All held credits are refunded.

Endpoint​

Method: POST Path: /data-enrichment/cancel/{job_id}/ Full URL: https://backend.ecoreservice.com/api/v1/data-enrichment/cancel/{job_id}/ Auth: Authorization: Token YOUR_API_TOKEN (or Bearer) — see Authentication

Response

{
"success": true,
"data": {
"job_id": "6b4c9f70-5a2b-4a0e-9a1b-9c2a3d4e5f61",
"status": "cancelled",
"ready": true,
"progress_pct": 23,
"credits_held": "1125.0000",
"credits_charged": "0.0000",
"credits_refunded": "1125.0000"
}
}

Cancelling a job that already finished is a no-op (returns the current status).