1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-03-21 21:27:27 +02:00
OpenIntegrations/docs/en/examples/Dropbox/CancelFolderPublication.txt

13 lines
497 B
Plaintext
Raw Normal View History

2024-08-19 09:33:52 +03:00
 Token = "sl.B6_e9uxZDzud1x7oZyvJJEiFu78rkVmLclhxrJ0KMVVZNxl9XbxwWUr5wv8IKSqnoi6KyNyRe0...";
Folder = "5119546785";
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;