Delete records
Deletes one or an array of records by identifiers
Function DeletePosts(Val Token, Val Base, Val Table, Val Records) Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
Token | --token | String | ✔ | Token |
Base | --base | String | ✔ | Database identifier |
Table | --table | String | ✔ | Table identifier |
Records | --records | String, Array of String | ✔ | Identifier or array of record identifiers |
Returns: Map Of KeyAndValue - serialized JSON response from Airtable
1C:Enterprise/OneScript code example
Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
Base = "appeMvjrOQPJciL7O";
Table = "tblQdiEo3yKV0e1cj";
Record = "reclJA9M8WL5gPBg3";
Result = OPI_Airtable.DeletePosts(Token, Base, Table, Record);
- Bash
- CMD/Bat
oint airtable DeletePosts \
--token "***" \
--base "appk3Fw5gwni4SWYj" \
--table "tblIT2QrATF0xn2YE" \
--records "recDitcY4es4W2qY3"
oint airtable DeletePosts ^
--token "***" ^
--base "appk3Fw5gwni4SWYj" ^
--table "tblIT2QrATF0xn2YE" ^
--records "recDitcY4es4W2qY3"
Result
{
"records": [
{
"deleted": true,
"id": "recMPMkPT6RzcSyqt"
}
]
}