This endpoint allows you to cancel running job. All items, that are not in progress and not done, will be marked as canceled and will not be charged.
Full URL:
plain
https://api.webcrawlerapi.com/v1/job/:id/cancelMethod: PUT
Example
plain
https://api.webcrawlerapi.com/v1/job/6c391693-e566-4b99-97ca-5fa00032e281/cancelcurl example
bash
curl --request PUT \
--url https://api.webcrawlerapi.com/v1/job/6c391693-e566-4b99-97ca-5fa00032e281/cancel \
--header 'Authorization: Bearer <YOUR_API_KEY>'Response
If successful, the response will be:
plain
{"message": "Job cancelled"}