Delete Record ( airtable)
One script reply has been approved by the moderators Verified

Created by fatona3bh6e 291 days ago Viewed 188 times 0 Points

No comments yet

Login to be able to comment
Points: 0
deno
One script reply has been approved by the moderators
Ap­pro­ved
import { Airtable } from "https://deno.land/x/airtable/mod.ts";
import { Field } from "https://deno.land/x/airtable/mod.ts";

export async function main(at_con: wmill.Resource<"airtable">, at_table: wmill.Resource<"airtable_table">, recordId: string) {
  const airtable = new Airtable({...at_con, ...at_table});

  const deleteSingleRecord = await airtable.delete(recordId);

  return { message: "Deleted single record in table" };
}

Submitted by rossmccrann 287 days ago

Edited 246 days ago

No comments yet

Login to be able to comment