cURL
curl --request POST \ --url https://api.incentives.leap.energy/alpha/batch-lookups/{job_id}/cancel \ --header 'x-api-key: <api-key>'
{ "message": "Job cancelled successfully", "job_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
Cancel a pending or processing batch job. Only pending or processing jobs can be cancelled.
API key for authentication. Include your Leap API key in the x-api-key header: x-api-key: leap_live_...
x-api-key
x-api-key: leap_live_...
Job cancelled successfully
"Job cancelled successfully"
Was this page helpful?