Delete Multiple Rows from an Excel Worksheet with Aspose.Cells Cloud API

This REST API deletes multiple rows from an Excel worksheet.

Prerequisites: To call this endpoint you must have a valid JWT access token obtained from Aspose Cloud authentication and appropriate storage permissions for the workbook.

DeleteWorksheetRows API

DELETE https://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/cells/rows

Security and Authentication

The Aspose.Cells Cloud APIs are secure and require JWT token-based authentication.

Request parameters

Parameter Name Type Path / Query String / HTTP Body Description
name string path The workbook name.
sheetName string path The worksheet name.
startrow integer query Zero‑based index of the first row to delete (e.g., 0 = first row).
totalRows integer query The number of rows to delete.
updateReference boolean query Whether to update references after deletion (true/false).
folder string query The document folder.
storageName string query The 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 make calls to the Cloud API with cURL. All endpoints require HTTPS; HTTP is deprecated.

Possible response codes

HTTP Status Description
200 Rows deleted successfully.
400 Bad request – invalid parameters.
401 Unauthorized – missing or invalid JWT token.
404 Not found – workbook or worksheet does not exist.
500 Internal server error – unexpected condition.

Cloud SDK Family

Using an SDK is the best way to speed up development. An SDK handles low‑level details and lets you 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: