Skip to main content

Unpublish file

Prohibits access to the file for external users

Function CancelFilePublication(Val Token, Val FileID) Export

ParameterCLI optionTypeDescription
Token--tokenStringToken
FileID--fileidStringID of the file to be accessed

Returns: Map Of KeyAndValue - serialized JSON response from Dropbox


Code example
    Token = "sl.B7rnyEnvxxd-JcTKNUGp-osMJLfqK79ojSqINJc-rtpJlhgC6meGOUa-rM6gZGBAhHWVmrzuqt...";
File = "kJU6-a-pT48AAAAAAAAABw";

Result = OPI_Dropbox.CancelFilePublication(Token, File);
CLI command example
    
oint dropbox CancelFilePublication --token "sl.B6AQWp9MlZlz4iaf41whVKxX9-MXeCiQhPRe4YIRxFmZ3zHsdjmOAatzgaWVhqmlIOvDD6WIUQ..." --fileid %fileid%

Result
{}