Skip to main content

Supabase: Update

Update rows in a Supabase table via the PostgREST API. Filter values can be static (baked into the configuration) or dynamic (resolved from the JSON filter input at runtime).

PostgREST refuses an unfiltered update — always supply at least one filter unless you really mean to write every row.

Pre-requisite: Install Supabase application in Profile > {Organization} > Applications. The Supabase API key must have update permission on the target table.

Parameters

ApplicationREQUIRED

Configured Supabase application (project URL + API key).

Table NameREQUIRED

Target Postgres table name (PostgREST resource).

FiltersREQUIRED

One or more PostgREST WHERE-style filters (column op value) used as the update target. Values can be static or dynamic (driven by the JSON filter input).

Input

JSON / FileREQUIRED

Field updates to apply (column → new value). Either an inline JSON object or a JSONL file.

Filters

Optional JSON whose keys provide values for filters configured with a dynamic key.

Output

JSON

PostgREST response containing the updated rows.