Clear Cell Formatting in an Excel Worksheet - Aspose.Cells Cloud API

Note: All Aspose.Cells Cloud API calls must be made over HTTPS. HTTP endpoints are deprecated and may be blocked by browsers.

  • Method: POST
  • Endpoint: https://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/cells/clearformats

This REST API clears cell formatting in an Excel file and is part of the Aspose.Cells Cloud suite for clearing cell formatting in Excel worksheets.

PostClearFormats API

POST https://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/cells/clearformats

Security and Authentication

The Aspose.Cells Cloud APIs are secure and require JWT token-based authentication.

Response

{
    "Status":"OK",
    "Code":200
}

Response Schema

Field Type Description
Code integer HTTP status code returned by the API (e.g., 200).
Status string Result of the operation (OK for success).

HTTP Status Codes

Code Meaning Description
200 OK Filter applied successfully; response contains operation details.
400 Bad Request Missing or invalid parameters (e.g., unsupported file type).
401 Unauthorized Invalid or missing JWT token.
413 Payload Too Large Uploaded file exceeds size limit.
500 Internal Server Error Unexpected server error.

How to Use the PostClearFormats API with SDKs

PostClearFormats API Specification

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 access Aspose.Cells web services easily. The following example shows how to make a call to the Cloud API with cURL.

Use Aspose.Cells Cloud SDKs

Using an SDK is the fastest way to develop. 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 call Aspose.Cells web services using various SDKs:

See also