Delete a filter in an Excel worksheet
Contents
[
Hide
]
This REST API deletes a filter on an Excel worksheet.
REST API
DELETE http://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/autoFilter/filter
The request parameters are:
| Parameter Name | Type | Location | Description |
|---|---|---|---|
| name | string | Path | The workbook name. |
| sheetName | string | Path | The worksheet name. |
| range | string | Query | The cell range to which the filter applies (e.g., A1:C10). |
| fieldIndex | integer | Query | Zero‑based index of the column to which the filter is applied. |
| dateTimeGroupingType | string | Query | How date/time values are grouped: Day, Hour, Minute, Month, Second, or Year. |
| year | integer | Query | Year component for date grouping. |
| month | integer | Query | Month component for date grouping. |
| day | integer | Query | Day component for date grouping. |
| hour | integer | Query | Hour component for date grouping. |
| minute | integer | Query | Minute component for date grouping. |
| second | integer | Query | Second component for date grouping. |
| matchBlanks | string | Query | true / false – whether blank cells are included in the filter. |
| refresh | string | Query | true / false – whether to refresh the worksheet after deletion. |
| folder | string | Query | Original workbook folder. |
| storageName | string | Query | Storage name. |
The OpenAPI Specification defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.
You can use the cURL command‑line tool to access Aspose.Cells web services easily. The following example shows how to call the Cloud API using cURL.
Cloud SDK Family
Using an SDK is the most efficient way to accelerate development. An SDK handles low‑level details, allowing you to focus on your project tasks. Please check out the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.
The following code examples demonstrate how to make calls to Aspose.Cells web services using various SDKs: