Delete records in an Airtable table based on their Airtable record ID.

delete_records(
  data,
  airtable,
  airtable_id_col = NULL,
  safely = TRUE,
  batch_size = 10
)

Arguments

data

A data frame containing records to delete

airtable

An airtable object

airtable_id_col

Column containing Airtable record IDs. Not required if record IDs are stored in row names as returned from read_airtable.

safely

If TRUE, ask for confirmation before executing DELETE request

batch_size

Number of requests to send at a time. Maximum of 10.

Value

A vector of IDs deleted