Save the date! Join us on October 16 for our Product Ops launch event. Register here.
Mar 07, 2024 11:38 AM - edited Mar 07, 2024 11:38 AM
What is the exact way to delete multiple records on a table of Airtable with Make.com ?
Thanks,
Mar 07, 2024 03:44 PM
Are you performing a search first?
Make will always loop through all of the records that it finds for you, so you can just start with a "Search Records" module, and then put the "Delete Record" module afterwards.
Check out the screenshot below.
Make will automatically delete all of the records that it found.
Mar 08, 2024 04:31 AM
Thanks I know already it, but it consume more operations on Make.com
For example delete 200 records with this method cost 200 operations. If is grouped by 10 (this is the max for airtable) is will cost 20 operations.
Mar 09, 2024 06:34 PM
The record IDs are URL params and don't go into the body I believe. Here's the documentation and the relevant example:
curl -X DELETE "https://api.airtable.com/v0/{baseId}/{tableIdOrName}\
?records=rec560UJdUtocSouk&records=rec3lbPRG4aVqkeOQ" \
-H "Authorization: Bearer YOUR_TOKEN"