1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-05-22 10:05:29 +02:00
Files
OpenIntegrations/docs/en/md/Google_Drive/Comment-management/Delete-comment.md
T
Vitaly the Alpaca (bot) 6baf87b203 Main build (Jenkins)
2024-10-13 01:45:32 +03:00

1.0 KiB

sidebar_position
sidebar_position
4

Delete comment

Deletes comment by ID

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

Parameter CLI option Type Description
Token --token String Token
ObjectID --object String Identifier of the file or directory where the comment is located
CommentID --comment String Comment identifier

Returns: Map Of KeyAndValue - serialized JSON response from Google


    Token      = "ya29.a0AcM612w6SWzMf3Ti1dSiFdgdLdXxLBjzKdXoLGuGDHoSXzb0uAKe5hJ-HPz1Njyp7HuHE6NnMnevQwbo0AR-yPAwfrA1OsMFZ_Fac2ASn...";
    Identifier = "1rjQ1PytDjJVgTIkNK600sQEPGqHDIeWW";
    CommentID  = "AAABRYFG8BM";

    Result = OPI_GoogleDrive.DeleteComment(Token, Identifier, CommentID);
    
  oint gdrive DeleteComment --token %token% --object %object% --comment %comment%

null