Delete a Row in an Excel Worksheet
Contents
[
Hide
]
This REST API deletes a row from an Excel worksheet.
REST API
DELETE https://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/cells/rows/{rowIndex}
Request parameters
| Parameter Name | Type | Path / Query | Required | Description |
|---|---|---|---|---|
| name | string | path | Yes | The workbook name. |
| sheetName | string | path | Yes | The worksheet name. |
| rowIndex | integer | path | Yes | Zero‑based index of the row to delete. |
| startrow | integer | query | Yes | Index of the first row to delete (normally the same as rowIndex). |
| totalRows | integer | query | Yes | Number of consecutive rows to delete. |
| updateReference | boolean | query | No | When true (default), formulas, named ranges, and other references are updated after the deletion. |
| folder | string | query | No | Folder that contains the workbook. |
| storageName | string | query | No | Name of the storage service. |
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 a complete, executable call.
Cloud SDK Family
Using an SDK is the best way to speed up development. An SDK abstracts low‑level details so you can 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: