# PATCH /apps/:app_id/tables/:table_key/rows/:row_id

**Resource:** [App Data](./app-data.md)  
**MCP tool:** `update_app_row`  
**Scopes:** `app-data:write`  
**Write operation:** yes

Change one row: send only the column values that change (a null removes a value). The caller can change only rows they can see, and on a table where each person sees only their own rows, only their own. A field the caller may see but not change (its access.edit rule) is refused if its value changes; sending it back unchanged is fine.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `app_id` | path | string | yes | The app's id. |
| `table_key` | path | string | yes | The table's key (for example "follow_ups"), as shown by list_app_tables. |
| `row_id` | path | string | yes | The row's id. |
| `data` | body | object | no | The values to change, keyed by column key. Columns not sent stay as they are; a null removes a value. |
| `owner_user_id` | body | string | no | Hand the row to another team member (admins and members who can see all rows only). |
| `require_approval` | body | boolean | no | Optional. Set true to route this write into the approval queue for human review instead of executing it immediately (returns 202 + an approval_id). Works even when your key/token has permission to execute directly. |

## Request example

```bash
curl -X PATCH   "https://api.trustpager.com/functions/v1/api/v1/apps/:app_id/tables/:table_key/rows/:row_id"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"data":"...","owner_user_id":"...","require_approval":"..."}'
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`