Encrypt an Excel workbook

This REST API encrypt 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
encryption WorkbookEncryptionRequest

WorkbookEncryptionRequest

Parameter Name Type Description
EncryptionType string XOR/Compatible/EnhancedCryptographicProviderV1/StrongCryptographicProvider
KeyLength integer
Password string

REST API

API Type Description Swagger Link
/cells/{name}/encryption POST Encrypt Excel Document PostEncryptDocument

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: