1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-01-08 04:04:03 +02:00
OpenIntegrations/docs/en/md/Dropbox/Shared-access-settings/Cancel-file-publication.md
2024-08-13 16:49:40 +03:00

915 B

sidebar_position
6

Unpublish file

Prohibits access to the file for external users

Function CancelFilePublication(Val Token, Val FileID) Export

Parameter CLI option Type Description
Token --token String Token
FileID --fileid String ID of the file to be accessed

Returns: Map Of KeyAndValue - serialized JSON response from Dropbox


    Token = "sl.B6AQWp9MlZlz4iaf41whVKxX9-MXeCiQhPRe4YIRxFmZ3zHsdjmOAatzgaWVhqmlIOvDD6WIUQ...";
    File  = "kJU6-a-pT48AAAAAAAAABw";

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

  {}