Set row values
View as MarkdownPATCH
/v1/databases/{databaseId}/rowsSets property values on one or many rows in one step: rowIds with set/unset applies the same values to every row; updates gives each row its own. Values are checked against the property type; unknown select options are added. Relation changes update the two-way side. uniqueId values are positive whole numbers: pass 12 or "LYD-12".
docs:writeUndoable
curl -X PATCH "https://api.lydie.co/v1/databases/01JCQ3V5MZ8G4ZK2X7T9R6N1PB/rows" \
-H "Authorization: Bearer $LYDIE_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'Path parameters
Body
- setobject
Default
{} - unsetULID[]
Default
[] - exactboolean
Write the values as given: no type checks, no new options, no two-way relation updates. Undo uses it to restore earlier values exactly.
Default
false - newOptionsobject
Options this call adds (recorded by the client so replays mint the same ids).
Response
- updatedULID[]
{
"updated": [
"01JCQ3V5MZ8G4ZK2X7T9R6N1PB"
]
}Errors use one envelope for every endpoint. See Errors and versions.