Delete Worksheet – Aspose.Cells Cloud API
This REST API deletes a worksheet.
Prerequisites: To call this API you must provide a valid JWT authentication token in the Authorization header and have access to the storage location where the workbook resides.
REST API
DELETE https://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}
Note: The API uses version v3.0, which is the current stable version. Future version changes will be announced in the release notes.
Request parameters
| Parameter Name | Type | Location | Description |
|---|---|---|---|
| name | string | path | Document name. |
| sheetName | string | path | The worksheet name. |
| folder | string | query | Document’s folder. |
| storageName | string | query | Storage name. |
Possible HTTP responses:
| Status Code | Description |
|---|---|
| 200 OK | Worksheet deleted successfully. |
| 400 Bad Request | Invalid request parameters. |
| 401 Unauthorized | Authentication failed or token missing. |
| 404 Not Found | Specified workbook or worksheet does not exist. |
| 500 Internal Server Error | Unexpected server error. |
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.
Cloud SDK Family
Using an SDK is the best way to speed up development. An SDK handles 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: