Decrypt an Excel Workbook
Contents
[
Hide
]
REST API
DELETE https://api.aspose.cloud/v3.0/cells/{name}/encryption
Security and Authentication
The Aspose.Cells Cloud APIs are secure and require JWT token-based authentication.
Query Parameters
| Parameter Name | Type | Description |
|---|---|---|
| folder | string | Folder path of the original workbook. |
| storageName | string | Name of the storage where the workbook resides. |
Request Body Parameter
| Parameter Name | Type | Description |
|---|---|---|
| encryption | WorkbookEncryptionRequest | Encryption settings required for decryption. |
WorkbookEncryptionRequest
| Parameter Name | Type | Description |
|---|---|---|
| EncryptionType | string | Encryption algorithm (XOR, Compatible, EnhancedCryptographicProviderV1, StrongCryptographicProvider). |
| KeyLength | integer | Length of the encryption key in bits. |
| Password | string | Password used for decryption. |
Response
{
"Status":"OK",
"Code":200
}
Http Status Codes
| Code | Meaning | Description |
|---|---|---|
| 200 | OK | Compression succeeded; response contains compressed file 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 DeleteDecryptWorkbook API with SDKs
DeleteDecryptWorkbook API Specification
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 to access Aspose.Cells web services easily. The following example shows how to call the Cloud API with cURL.