## Cancel a crawl job. `browser_rendering.crawl.delete(strjob_id, CrawlDeleteParams**kwargs) -> CrawlDeleteResponse` **delete** `/accounts/{account_id}/browser-rendering/crawl/{job_id}` Cancels an ongoing crawl job by setting its status to cancelled and stopping all queued URLs. ### Parameters - `account_id: str` Account ID. - `job_id: str` The ID of the crawl job to cancel. ### Returns - `class CrawlDeleteResponse: …` - `job_id: str` The ID of the cancelled job. - `message: str` Cancellation confirmation message. ### Example ```python import os from cloudflare import Cloudflare client = Cloudflare( api_token=os.environ.get("CLOUDFLARE_API_TOKEN"), # This is the default and can be omitted ) crawl = client.browser_rendering.crawl.delete( job_id="job_id", account_id="account_id", ) print(crawl.job_id) ``` #### Response ```json { "result": { "job_id": "job_id", "message": "message" }, "success": true, "errors": [ { "code": 0, "message": "message" } ] } ```