The request body should contain an array of items, where each item represents a row to be updated. For each row, provide the row_id and updates array that specifies the columns (path) to update and the new values (value). The example below is assuming that the table being modified has a column labeled name.
Required API Scope: Workspace Content: Update
curl --request POST \
--url https://your-xano-instance.xano.io/api:meta/workspace/{workspace_id}/table/{table_id}/content/bulk/patch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"row_id": 1,
"updates": {
"name": "test name"
}
}
]
}
'{
"success": [
"<string>"
],
"success_total": 123
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
Was this page helpful?
curl --request POST \
--url https://your-xano-instance.xano.io/api:meta/workspace/{workspace_id}/table/{table_id}/content/bulk/patch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"row_id": 1,
"updates": {
"name": "test name"
}
}
]
}
'{
"success": [
"<string>"
],
"success_total": 123
}