Delete Worksheet Validation – Aspose.Cells Cloud
Contents
[
Hide
]
This REST API deletes a worksheet validation by its zero‑based index on an Excel worksheet.
REST API
DELETE https://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/validations/{validationIndex}
Request parameters
| Parameter Name | Type | Location | Description |
|---|---|---|---|
| name | string | path | The name of the Excel file. |
| sheetName | string | path | The name of the worksheet. |
| validationIndex | integer | path | The zero‑based index of the validation to delete. |
| folder | string | query | The folder that contains the document. |
| storageName | string | query | The name of the storage service. |
The OpenAPI Specification defines a publicly accessible programming interface and lets you perform REST interactions directly from a web browser.
You can use the cURL command‑line tool to call the Aspose.Cells web service. The example below shows how to delete a validation with cURL.
Error Handling / Response Codes
| Status Code | Meaning | Description |
|---|---|---|
| 200 | OK | Validation was deleted successfully. |
| 400 | Bad Request | Missing or invalid parameters. |
| 401 | Unauthorized | Invalid or missing JWT token. |
| 404 | Not Found | The specified file, worksheet, or validation index does not exist. |
| 500 | Internal Server Error | Unexpected server error; see the response body for details. |
Cloud SDK Family
Using an SDK is the fastest way to integrate this operation into your application. SDKs handle low‑level details so you can focus on business logic. See the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.
The following code examples demonstrate how to delete a worksheet validation using various SDKs: