Unpublish file
Prohibits access to the file for external users
Function CancelFilePublication(Val Token, Val FileID) Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
Token | --token | String | ✔ | Token |
FileID | --fileid | String | ✔ | ID of the file to be accessed |
Returns: Map Of KeyAndValue - serialized JSON response from Dropbox
1C:Enterprise/OneScript code example
Token = "sl.B_msgdiPWezavqeIij7xO0CoH6lFDkcxzp9wOv6yyW7dixfCrQAW21oFDnvVjkfZa4UegdzdP0...";
File = "kJU6-a-pT48AAAAAAAAABw";
Result = OPI_Dropbox.CancelFilePublication(Token, File);
- Bash
- CMD/Bat
oint dropbox CancelFilePublication \
--token "***" \
--fileid "kJU6-a-pT48AAAAAAAAABw"
oint dropbox CancelFilePublication ^
--token "***" ^
--fileid "kJU6-a-pT48AAAAAAAAABw"
Result
{}