Records deleter

[apis/AirTable/Records deleter]


Deletes up to 10 records from an AirTable table, by their IDs. For detailed parameter information, see the AirTable API documentation: https://airtable.com/api/meta


Keywords: airtable, delete, remove, records, rows

Input ports

  • record IDs: string[]

    Receives the IDs of the records to be deleted from AirTable. Example:

    [<br>
      "rec32C7MUspwlCGaY",<br>
      "rec5F6YjCMk4ajxgQ"<br>
    ]<br>
    ```<br>
    
  • params:

    {"apiKey": string, "baseId": string, "tableName": string}

    Receives the authentication & table parameters required to construct the request. API Key: In AirTable, go to 'Help?' and click on 'API Documentation'. Scroll to the "Authorization" section to retrieve your API key. Base ID: In AirTable, go to 'Help?' and click on 'API Documentation'. Find the ID of the base in the introduction. Table Name: Use the table name located on the tab of the spreadsheet. Example:

    {<br>
      "apiKey": "key...",<br>
      "baseId": "app...",<br>
      "tableName": "..."<br>
    }<br>
    ```<br>

Output ports

  • record ids: string[]

    Sends the IDs corresponding to the deleted records. Example:

    [<br>
      "rec32C7MUspwlCGaY",<br>
      "rec5F6YjCMk4ajxgQ"<br>
    ]<br>
    ```<br>
    
  • AT records: {"id": string, "deleted": boolean}

    Sends the ID of each record to be deleted, and whether the deletion was successful, as returned by AirTable. Example:

    [<br>
      {<br>
        "deleted": true,<br>
        "id": "rec32C7MUspwlCGaY"<br>
      },<br>
      {<br>
        "deleted": true,<br>
        "id": "rec5F6YjCMk4ajxgQ"<br>
      }<br>
    ]<br>
    ```<br>
    
  • response:

    {"status": number, "headers": {string: any}, "body": string}

    Sends the entire response from the AirTable API without modification.

See link for correct formats of request and response 'delete record' messages: https://airtable.com/appJrRnzGR3Yp5M7b/api/docs

  • error: {"error": string, optional "details": any}

    Sends the error, if one occurred.

Last updated