// For complete examples and data files, please go to https://github.com/aspose-cells-cloud/aspose-cells-cloud-dotnet/ namespace Aspose.Cells.Cloud.SDK.Example { using Aspose.Cells.Cloud.SDK.Api; using Aspose.Cells.Cloud.SDK.Request; using System; public partial class CellsApiExample { public void DeleteDocumentUnProtectFromChangesExample() { CellsApi cellsApi = new CellsApi(Environment.GetEnvironmentVariable("CellsCloudTestClientId"), Environment.GetEnvironmentVariable("CellsCloudTestClientSecret")); DeleteDocumentUnProtectFromChangesRequest request = new DeleteDocumentUnProtectFromChangesRequest { name = "Book1.xlsx", folder = "TestData/In" }; cellsApi.DeleteDocumentUnProtectFromChanges(request); } } } // Obsolete //CellsWorkbookApi instance = new CellsWorkbookApi(GetConfiguration()); //string name = "Book1.xlsx"; //string folder = null; //UpdateDataFile(folder, name); //var response = instance.CellsWorkbookDeleteDocumentUnprotectFromChanges(name, folder);