Working with Deleting Rows on an Excel Worksheet – Aspose.Cells Cloud API Guide

Available Deletion Operations

The following examples demonstrate how to delete a single empty row or multiple rows from an Excel worksheet using the Aspose.Cells Cloud REST API.

API Reference

Item Details
HTTP Method DELETE
Endpoint /cells/{fileName}/worksheets/{sheetName}/rows
Path Parameters fileName – name of the Excel file (required)
sheetName – name of the worksheet (required)
Query Parameters startrow – index of the first row to delete (required)
totalRows – number of rows to delete (required)
storage – cloud storage name (optional)
folder – folder path in storage (optional)
Request Body None
Response Example json<br>{<br> "Code": 200,<br> "Status": "OK",<br> "RowsDeleted": 1<br>}<br>
Possible Status Codes 200 OK – rows deleted successfully
400 Bad Request – invalid parameters
401 Unauthorized – authentication failure
404 Not Found – file or worksheet not found
500 Internal Server Error – server‑side issue

See also