import os
import sys

from asposecellscloud.apis.cells_api import CellsApi
from asposecellscloud.models import *
from asposecellscloud.requests import *

api  = CellsApi(os.getenv('CellsCloudClientId'),os.getenv('CellsCloudClientSecret'),"v3.0",os.getenv('CellsCloudApiBaseUrl'))
protectParameter = ProtectSheetParameter(protection_type= 'ALL' ,password= '123' )

request =  DeleteUnprotectWorksheetRequest( 'Book1.xlsx', 'Sheet1', protectParameter,folder= 'PythonTest',storage_name= '')
api.delete_unprotect_worksheet(request)