# Tables

List tables, page through rows, and delete rows or whole tables with the REST API.

```http
GET    /api/projects/:id/storage/tables
GET    /api/projects/:id/storage/tables/:name?limit=100&cursor=...
DELETE /api/projects/:id/storage/tables/:name/rows/:rowId
DELETE /api/projects/:id/storage/tables/:name
```

## List tables

`GET /storage/tables` returns each table with its row count.

## Read rows

`GET /storage/tables/:name` returns a page of rows, in row-id order, with a `cursor` for the next page.

| Query | Description |
| --- | --- |
| `limit` | Rows per page, default 100 |
| `cursor` | From the previous page |

## Delete

- `DELETE /storage/tables/:name/rows/:rowId` deletes one row.
- `DELETE /storage/tables/:name` deletes the whole table.

Scope: `storage:write` (reading: `storage:read`). From your functions, use the [`table` SDK](/api/sdk-table).
