What it does
Delete many rows by id in one transaction. A missing id writes nothing. The response has deleted_count and ids, the rows removed. The error message counts errors and rows separately, and details include error_count and row_count. A member's agent or site agent deletes rows of an own_and_shared table: the shared ones and its own, never another member's.
Plans
Works on every plan: Free, Basic, Pro and Ultra.
Parameters
| Name | Type | About |
|---|---|---|
namerequired | string | The table. |
idsrequired | array of string | The ids of the rows to delete. |
site_id | string | Only for a site shared with you (whoami lists them): read or change that site's data as its member. |
Example
Call bulk_delete_rows with these arguments:
{
"name": "recipes",
"ids": [
"01a1…",
"01a1…"
]
}
Ids like 01a1… stand for your own. list_sites and list_tables give you the real ones.
Related guides
- Tables and columnsWhere your site's data lives, and who can read it.
- Load rowsFill a table in one go, without duplicates.