Deletes records given an array of record ids
Records
Delete multiple records
delete
https://api.airtable.com/v0/{baseId}/{tableIdOrName}
Authentication | Personal access token, OAuth integration |
Scope | data.records:write |
User role | Base editor |
Billing plans | All plans |
optional< array of strings > The recordIds of each record to be deleted. Up to 10 recordIds can be provided. |
Request (example)
Copy
$curl -X DELETE "https://api.airtable.com/v0/{baseId}/{tableIdOrName}\?records[]=rec560UJdUtocSouk&records[]=rec3lbPRG4aVqkeOQ" \-H "Authorization: Bearer YOUR_TOKEN"
200 – Response (example)
{"records": [{"deleted": true,"id": "rec560UJdUtocSouk"},{"deleted": true,"id": "rec3lbPRG4aVqkeOQ"}]}