--- title: "Sequence.Cancel - Web Scraping API - Mozenda" slug: "sequencecancel" description: "If a sequence is in a paused or errored state, you can use Sequence.Cancel to cancel it. Sequences allow you to automate your Mozenda web scraping projects - contact us to learn more. " updated: 2024-05-14T14:24:52Z published: 2024-05-14T14:24:52Z canonical: "help.mozenda.com/sequencecancel" --- > ## 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. # Sequence.Cancel ### Description Cancels a **sequence** in the system. Note A **sequence** must be in a *Paused* or *Error* state to cancel. ### URL parameters | Name | Required | Type | Description | | --- | --- | --- | --- | | `SequenceID` | True | numeric | Unique identifier of the **sequence**. | ### Returns | Name | Type | Description | | --- | --- | --- | | `Result` | string | `Success` if the operation was successful. | #### Sample request ``` curl -X GET "https://api.mozenda.com/rest?WebServiceKey=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX&Service=Mozenda10&Operation=Sequence.Cancel&SequenceID=1005" ``` ### Sample responses #### XML ``` Success ``` #### JSON (add `&ResponseFormat=JSON`) ``` { "JsonResult":{ "Command":"Sequence.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 } } } ``` Enterprise Feature Please contact your sales representative at [+1 (801) 995-4550](tel:8019954550) or [sales@mozenda.com](mailto:sales@mozenda.com) for more information about enabling **Sequences** on your **account**.