1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-27 02:43:54 +02:00
OpenIntegrations/docs/en/md/Google_Drive/Comment-management/Delete-comment.md

44 lines
850 B
Markdown
Raw Normal View History

---
sidebar_position: 4
---
# Delete comment
Deletes comment by ID
2024-07-10 12:58:29 +02:00
`Function DeleteComment(Val Token, Val ObjectID, Val CommentID) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
| 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
2024-07-10 13:05:58 +02:00
<br/>
2024-07-10 12:58:29 +02:00
```bsl title="Code example"
2024-07-10 13:24:11 +02:00
Identifier = "1dg_MwwwPSPYT0p3y-8dvGWoapbwaaaaa";
Response = OPI_GoogleDrive.DeleteComment(Token, Identifier, Comment); //Map
```
```sh title="CLI command example"
oint gdrive DeleteComment --token %token% --object %object% --comment %comment%
```
```json title="Result"
2024-07-10 13:11:17 +02:00
''
```