Skip to main content
PATCH
/
{endpointNamespace}
/
{projectName}
/
{tabSlug}
/
{rowId}
Update Row
curl --request PATCH \
  --url https://api.sheetninja.io/{endpointNamespace}/{projectName}/{tabSlug}/{rowId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "updated": 123,
  "warning": "<string>",
  "ignored_keys": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

The Bearer Token associated with your endpoint. This is only required if you have enabled protection for this endpoint.

Path Parameters

endpointNamespace
string
required

Your unique user namespace

projectName
string
required

The slugified name of your project

tabSlug
string
required

The slugified name of the specific worksheet (tab)

rowId
integer
required

The physical row number in the Google Sheet (Note: Row 1 is the header row)

Required range: x >= 2

Body

application/json

An object containing the column keys and new values to update

Response

200 - application/json

Row successfully updated

updated
integer

The number of rows updated (typically 1)

warning
string

Any non-critical issues encountered during the update

ignored_keys
string[]

A list of keys provided in the request that did not match any header in the worksheet