Delete Vertical Page Break – Aspose.Cells Cloud REST API
REST API
This REST API deletes a vertical page break.
DELETE https://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/verticalpagebreaks/{index}
Prerequisites: A valid JWT authentication token must be supplied in the Authorization header, and the workbook must be accessible in the specified folder or storage location.
Request Parameters
| Parameter Name | Type | Location | Required? | Description |
|---|---|---|---|---|
| name | string | path | Yes | The name of the Excel file. |
| sheetName | string | path | Yes | The name of the worksheet containing the break. |
| index | integer | path | Yes | Zero‑based index of the vertical page break to delete. |
| folder | string | query | No | Folder path where the file is stored. |
| 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 how to make calls to the Cloud API with cURL.
Error Responses
| HTTP Code | Description |
|---|---|
| 401 | Unauthorized – missing or invalid token. |
| 404 | Not Found – the specified file, worksheet, or page‑break index does not exist. |
| 400 | Bad Request – malformed request syntax or invalid parameters. |
| 500 | Internal Server Error – an unexpected condition was encountered. |
Sample error payloads
401 – Unauthorized
{
"Code": 401,
"Message": "Invalid authentication token."
}
404 – Not Found
{
"Code": 404,
"Message": "The specified file, worksheet, or page‑break index was not found."
}
400 – Bad Request
{
"Code": 400,
"Message": "The request parameters are invalid or malformed."
}
500 – Internal Server Error
{
"Code": 500,
"Message": "An unexpected server error occurred."
}
Cloud SDK Family
Using an SDK can 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: