1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-05-22 10:05:29 +02:00
Files
OpenIntegrations/docs/en/md/Airtable/Comment-management/Delete-comment.mdx
T
Vitaly the Alpaca (bot) 41eefb70fe Main build (Jenkins)
2024-11-12 23:15:46 +03:00

74 lines
1.8 KiB
Plaintext

---
sidebar_position: 4
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# 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 | Required | 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
<br/>
```bsl title="1C:Enterprise/OneScript code example"
Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
Base = "appL0hdxXVnQkbPVh";
Table = "tblEGswvf7vDCgFHd";
Record = "recgu8nXPkSN45ubu";
Comment = "com25M7fM5QPupbL0";
Result = OPI_Airtable.DeleteComment(Token, Base, Table, Record, Comment);
```
<Tabs>
<TabItem value="bash" label="Bash" default>
```bash
oint airtable DeleteComment \
--token "***" \
--base "app1BSYtCVlNTKWb8" \
--table "tblyiMcHBz46if9ZC" \
--record "recJUtkFAhF2WNcOH" \
--comment "comukVggLrkrnZhPD"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint airtable DeleteComment ^
--token "***" ^
--base "app1BSYtCVlNTKWb8" ^
--table "tblyiMcHBz46if9ZC" ^
--record "recJUtkFAhF2WNcOH" ^
--comment "comukVggLrkrnZhPD"
```
</TabItem>
</Tabs>
```json title="Result"
{
"id": "comwNg41PXtfEa4kj",
"deleted": true
}
```