--- title: "Job.Cancel - Web Scraping API - Mozenda" slug: "jobcancel" description: "Jobs are the building blocks of a successful web scraping project. If a job is in a paused or errored state, you can use the Job.Cancel operation to cancel it. " updated: 2024-05-14T14:24:23Z published: 2024-05-14T14:24:23Z canonical: "help.mozenda.com/jobcancel" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.mozenda.com/llms.txt > Use this file to discover all available pages before exploring further. # Job.Cancel ### Description Cancels a **job** in the system. :::(Info) (Job Status) A **job** must be in a *Paused* or *Error* state to cancel a **job**. ::: ### URL parameters | Name | Required | Type | Description | | :----------- | :------- | :----- | :--------------------------- | | `JobID` | True | string | Unique identifier of the **job**. | ### Responses | Name | Type | Description | | :----- | :----- | :----------------------------------------- | | `Result` | string | `Success` if the operation was successful. | ### Example request url ```bash curl -X GET "https://api.mozenda.com/rest?WebServiceKey=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX&Service=Mozenda10&Operation=Job.Cancel&JobID=32476" ``` ### Sample responses #### XML ```xml Success ``` #### JSON (add `&ResponseFormat=JSON`) ```json { "JsonResult":{ "Command":"Job.Cancel", "AutoLoggedIn":false, "WebConsoleKey":"", "Result":"Success", "ErrorCode":"", "ErrorDescription":"", "ErrorList":[ ], "ExecutionTime":{ "Ticks":0, "Days":0, "Hours":0, "Milliseconds":0, "Minutes":0, "Seconds":0, "TotalDays":0, "TotalHours":0, "TotalMilliseconds":0, "TotalMinutes":0, "TotalSeconds":0 } } } ```