1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-03-25 21:39:21 +02:00
Vitaly the Alpaca (bot) dd996a47a5 Main build (Jenkins)
2024-10-03 09:45:14 +03:00

1.2 KiB

sidebar_position
4

Delete comment

Deletes a comment for a table record

Function DeleteComment(Val Token, Val Base, Val Table, Val Record, Val Comment) Export

Parameter CLI option Type Description
Token --token String Token
Base --base String Database identifier
Table --table String Table identifier
Record --record String Record identifier in the table
Comment --comment String Comment identifier

Returns: Map Of KeyAndValue - serialized JSON response from Airtable


    Token   = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
    Base    = "app9bSgL4YtTVGTlE";
    Table   = "tblDUGAZFZaeOwE6x";
    Record  = "recydoiybO8id17n5";
    Comment = "com8s9ZPVoWQ9JN9o";

    Result = OPI_Airtable.DeleteComment(Token, Base, Table, Record, Comment);
    
  oint airtable DeleteComment --token %token% --base "apptm8Xqo7TwMaipQ" --table "tbl9G4jVoTJpxYwSY" --record "recV6DxeLQMBNJrUk" --comment "comL1oGEDJvIQlMs1"

{
 "id": "compy8BPTJpSm9smO",
 "deleted": true
}