Skip to main content

Delete comment

Deletes comment by ID

Function DeleteComment(Val Token, Val ObjectID, Val CommentID) Export

ParameterCLI optionTypeDescription
Token--tokenStringToken
ObjectID--objectStringIdentifier of the file or directory where the comment is located
CommentID--commentStringComment identifier

Returns: Map Of KeyAndValue - serialized JSON response from Google


Code example
  
Identifier = "1dg_MwwwPSPYT0p3y-8dvGWoapbwaaaaa";

Response = OPI_GoogleDrive.DeleteComment(Token, Identifier, Comment); //Map
CLI command example
    
oint gdrive DeleteComment --token %token% --object %object% --comment %comment%

Result
''