Edits history of script submission #1023 for ' Delete Record (airtable)'

  • deno
    One script reply has been approved by the moderators
    Ap­pro­ved
    import { Airtable } from "https://deno.land/x/airtable/mod.ts";
    
    type Airtable = {
      apiKey: string;
    };
    
    type AirtableTable = {
      baseId: string;
      tableName: string;
    };
    export async function main(
      atCon: Airtable,
      atTable: AirtableTable,
      recordId: string,
    ) {
      const airtable = new Airtable({ ...atCon, ...atTable });
    
      const deleteSingleRecord = await airtable.delete(recordId);
    
      return deleteSingleRecord;
    }

    Submitted by hugo697 386 days ago

  • deno
    import { Airtable } from "https://deno.land/x/airtable/mod.ts";
    
    type Airtable = {
      apiKey: string;
    };
    
    type AirtableTable = {
      baseId: string;
      tableName: string;
    };
    export async function main(
      atCon: Airtable,
      atTable: AirtableTable,
      recordId: string,
    ) {
      const airtable = new Airtable({ ...atCon, ...atTable });
    
      const deleteSingleRecord = await airtable.delete(recordId);
    
      return deleteSingleRecord;
    }

    Submitted by hugo697 1016 days ago

  • deno
    import { Airtable } from "https://deno.land/x/airtable/mod.ts";
    
    type Airtable = {
      apiKey: string;
    };
    
    type AirtableTable = {
      baseId: string;
      tableName: string;
    };
    export async function main(
      at_con: Airtable,
      at_table: AirtableTable,
      recordId: string,
    ) {
      const airtable = new Airtable({ ...at_con, ...at_table });
    
      const deleteSingleRecord = await airtable.delete(recordId);
    
      return deleteSingleRecord;
    }

    Submitted by hugo697 1016 days ago