--- title: "View.ClearCriteria - Web Scraping API - Mozenda" slug: "viewclearcriteria" description: "View.ClearCriteria clears criteria associated with a given view. " updated: 2024-05-14T14:23:18Z published: 2024-05-14T14:23:18Z canonical: "help.mozenda.com/viewclearcriteria" --- > ## 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. # View.ClearCriteria #### Description Clears the criteria on the **view**. #### Parameters | Name | Required | Type | Description | | --- | --- | --- | --- | | `ViewID` | True | numeric | Unique identifier of the **view**. | #### Returns | Name | Type | Description | | --- | --- | --- | | `Result` | string | `Success` if the operation was successful. | ### Sample request ``` curl -X 'https://api.mozenda.com/rest?WebServiceKey=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX&Service=Mozenda10&Operation=View.ClearCriteria&ViewID=1102' ``` ### Sample responses #### XML ``` Success ``` #### JSON (add `&ResponseFormat=JSON`) ``` { "JsonResult": { "Command": "View.ClearCriteria", "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 } } } ```