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

911 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.B6_e9uxZDzud1x7oZyvJJEiFu78rkVmLclhxrJ0KMVVZNxl9XbxwWUr5wv8IKSqnoi6KyNyRe0...";
    File  = "kJU6-a-pT48AAAAAAAAABw";

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

{}