pagehive

delete_row

Delete one row.

TablesChanges dataAll plans

What it does

Delete one row. 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

NameTypeAbout
namerequiredstringThe table.
idrequiredstringThe id of the row to delete.
site_idstringOnly for a site shared with you (whoami lists them): read or change that site's data as its member.

Example

Call delete_row with these arguments:

{
  "name": "recipes",
  "id": "01a1…"
}

Ids like 01a1… stand for your own. list_sites and list_tables give you the real ones.

Related guides