Batch Update Rows
Update multiple specific rows by their IDs in a single request. Each entry in the `updates` array specifies a row ID and the fields to update. Validates against the table schema and unique constraints. Up to 1000 rows can be updated per request.
PATCH
/api/v1/tables/{tableId}/rowsAuthorization
apiKey X-API-Key<token>
Your SteelEngine API key (personal or workspace). Generate one from the SteelEngine dashboard under Settings > API Keys.
In: header
Path Parameters
tableId*string
The unique identifier of the table.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/api/v1/tables/string/rows" \ -H "Content-Type: application/json" \ -d '{ "workspaceId": "wsp_abc123", "updates": [ { "rowId": "row_abc123", "data": { "status": "active" } }, { "rowId": "row_def456", "data": { "status": "archived" } } ] }'{ "success": true, "data": { "message": "Rows updated successfully", "updatedCount": 2, "updatedRowIds": [ "row_abc123", "row_def456" ] }}