Delete Conditional Formatting – Aspose.Cells Cloud API Reference
This REST API removes conditional formatting from a worksheet.
REST API
DELETE https://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/conditionalFormattings/{index}
Request Parameters
| Parameter Name | Type | Location | Description |
|---|---|---|---|
| name | string | path | The name of the workbook file. |
| sheetName | string | path | The name of the worksheet that contains the formatting. |
| index | integer | path | The zero-based index of the conditional formatting rule to delete. |
| folder | string | query | The folder in cloud storage where the file is located. |
| storageName | string | query | The name of the storage service. |
Error Responses
| HTTP Code | Reason | Example Body |
|---|---|---|
| 400 | Bad Request – missing or invalid parameters. | { "Code":"400", "Message":"Invalid parameter value." } |
| 401 | Unauthorized – missing or invalid JWT token. | { "Code":"401", "Message":"Access token is missing or invalid." } |
| 404 | Not Found – workbook or worksheet does not exist. | { "Code":"404", "Message":"File not found." } |
| 500 | Internal Server Error – unexpected server failure. | { "Code":"500", "Message":"An unexpected error occurred." } |
The OpenAPI Specification defines a publicly accessible programming interface and provides full details of the endpoint.
You can use the cURL command‑line tool to access Aspose.Cells web services easily. The following example shows how to make the call with cURL.
Example token request (cURL)
curl -X POST "https://api.aspose.cloud/connect/token" \
-d "grant_type=client_credentials&client_id=<your_client_id>&client_secret=<your_client_secret>&scope=Cells"
The response will be similar to:
{
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"token_type": "Bearer",
"expires_in": 3600
}
Use the access_token value in the Authorization header as shown in the request example above.
Cloud SDK Family
Using an SDK is the best way to speed up development. An SDK takes care of 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: