WebCrawlerAPI

API reference/Crawl/Cancel job

Cancel job

Cancel a running crawling job to stop processing and avoid charges

PUThttps://api.webcrawlerapi.com/v1/job/:id/cancel

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/cancel

Method: PUT

Example

plain
https://api.webcrawlerapi.com/v1/job/6c391693-e566-4b99-97ca-5fa00032e281/cancel

curl 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"}