Skip to main content

Delete records

Deletes one or an array of records by identifiers

Function DeletePosts(Val Token, Val Base, Val Table, Val Records) Export

ParameterCLI optionTypeRequiredDescription
Token--tokenStringToken
Base--baseStringDatabase identifier
Table--tableStringTable identifier
Records--recordsString, Array of StringIdentifier 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);
    oint airtable DeletePosts \
--token "***" \
--base "appk3Fw5gwni4SWYj" \
--table "tblIT2QrATF0xn2YE" \
--records "recDitcY4es4W2qY3"
Result
{
"records": [
{
"deleted": true,
"id": "recMPMkPT6RzcSyqt"
}
]
}