Rename worksheet in Spreadsheet

Rename worksheet name in a spreadsheet.

Rename worksheet name in Spreadsheet API

PUT http://api.aspose.cloud/v4.0/cells/spreadsheet/rename/worksheet

Request Parameters:

Parameter Name Type Path/Query String/HTTPBody Description
Spreadsheet File FormData Upload the spreadsheet file.
sourceName String Query Current name of the worksheet to be renamed.
targetName String Query New name for the worksheet.
outPath String Query (Optional) Folder path where the workbook is stored. Defaults to null.
outStorageName String Query Output file Storage Name.
region String Query Spreadsheet region setting.
password String Query Password for opening spreadsheet file.

Response

[
    {
        "Name": "ResponseFile",
        "DataType": {
            "Identifier": "File",
            "Reference": "Stream"
        }
    }
]

Error Codes

  • 400 Bad Request: Invalid Apose.Cells Cloud API URI.
  • 401 Unauthorized: Invalid access token. Or invalid client id and secret.
  • 404 Not Found: The spreadsheet file not accessible.
  • 500 Server Error: The spreadsheet has encountered an anomaly in obtaining calculation data.

Where should we use the Rename Worksheet in Spreadsheet API?

When you need to rename worksheet in spreadsheets, you can use this API.

Why should you use the Rename Worksheet in Spreadsheet API?

  • Quickly rename worksheets from spreadsheets.
  • Development can be quickly completed through the existing SDK.

How to Use the Rename Worksheet in Spreadsheet API with SDKs

OpenAPI Specification

The OpenAPI Specification details a publicly accessible programming interface, allowing for REST interactions directly from a web browser.

Use Aspose.Cells Cloud SDKs

Using the SDK is the best way to accelerate development. The SDK handles the underlying details, allowing you to simply implement rename worksheet name in spreadsheets for cells with minimal code. Please check out the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.

The following code examples illustrate how to call Aspose.Cells web services using various SDKs: