Protect an Excel Workbook

This REST API protect an Excel workbook.

Query Parameter

Parameter Name Type Description
folder string Original workbook folder.
storageName string Storage name.

Request Body Parameter

Parameter Name Type Description
protection WorkbookProtectionRequest

WorkbookProtectionRequest

Parameter Name Type Description
ProtectionType string ALL/CONTENTS/NONE/OBJECTS/SCENARIOS/STRUCTURE/WINDOWS
Password string

REST API

API Type Description Swagger Link
/cells/{name}/protection POST Protect a document PostProtectDocument

The OpenAPI Specification defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser. 

You can use cURL command-line tool to access Aspose.Cells web services easily. The following example shows how to make calls to Cloud API with cURL.

Cloud SDK Family

Using an SDK is the best way to speed up the 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: