Token = FunctionParameters["Dropbox_Token"]; Folder = FunctionParameters["Dropbox_SharedFolder"]; Result = OPI_Dropbox.CancelFolderPublication(Token, Folder); CurrentStatus = "in_progress"; JobID = Result["async_job_id"]; WHile CurrentStatus = "in_progress" Do Result = OPI_Dropbox.GetAsynchronousChangeStatus(Token, JobID); CurrentStatus = Result[".tag"]; OPI_Tools.Pause(3); EndDo;