工具 API

delete_records_for_table

Deletes records from an Airtable table. To get record IDs, use the list_records_for_table or search_records tools first. You can delete up to 50 records per request. To delete more than 50 records, make multiple requests. Example: delete selected records returned by a preceding list or search call, using the request shape advertised for this endpoint.

productivityOAuth1 积分

调用信息

工具标识
airtable.delete_records_for_table
服务提供方
Airtable
平均响应
0 ms
近 7 天调用
0

输入参数

baseId必填

The ID of the base containing the table. Must start with "app" and is 17 characters long. Example: "appZfrNIUEip5MazD". Do not substitute user-facing names for baseId. To get baseId, use the search_bases or list_bases tool.

tableId必填

The ID of the table to delete records from. Must start with "tbl" and is 17 characters long. Example: "tblGlReoTNWfYnXIG". Do not substitute user-facing names for tableId. To get tableId, use the list_tables_for_base tool.

recordIds必填

An array of record IDs to delete. Must start with "rec" and is 17 characters long. Example: "recZOTa3BDHxlJNzf". Do not substitute user-facing names for IDs To get recordId, use the list_records_for_table tool or display_records_for_table tools.

interfaceContext

Set this only when the user lacks base access (which can be determined by the permission listed on list_bases) and is deleting records through an interface they collaborate on. When provided, the deletion is authorized against the user's collaborator permissions on the given interface instead of base-level permissions.