Patch item data

Use JSON patch to modify an item's data.

PATCH https://api.jsonpad.io/lists/{listId}/items/{itemId}/data

Example

cURL
123456789101112131415curl https://api.jsonpad.io/lists/830350bd-c71f-42d9-9caf-b2e6b7582ce8/items/946606d4-4674-44b7-a0bc-94d1d8cbe7d3/data \
  -X PATCH \
  -H "Content-Type: application/json" \
  -H "x-api-token: <YOUR TOKEN>" \
  -d '[
        {
          "op": "replace",
          "path": "/name",
          "value": "Jane Doe"
        },
        {
          "op": "remove",
          "path": "/age"
        }
      ]'

Parameters

  • required
    listIdstringA list id or path name.
  • required
    itemIdstringAn item id or alias.
  • optional
    includeDatabooleanhttps://api.jsonpad.io/lists/bb7c7c14-cc25-4cbf-b040-705893032717/items/d588b675-e1b3-44fc-a08d-d6f0ebd178d7/data?includeData=true

    Whether to include the item data in the response or not. Can be true or false.

    Defaults to true.

Request headers

  • required
    x-api-tokenstringYour API token.
  • optional
    x-identity-tokenstringAn identity token.
  • optional
    x-identity-groupstringAn identity group.

Request body

[
0: {
op: "replace"
path: "/name"
value: "Jane Doe"
}
1: {
op: "remove"
path: "/age"
}
]
  • required
    *anyJSON patch data to be applied to the item.

Response body

200 OK
{
id: "543644f9-051a-41c4-b7e1-479e0c67307f"
createdAt: "2026-09-05T11:30:07.070Z"
updatedAt: "2026-09-05T11:30:07.070Z"
data: {
name: "John Doe"
age: 30
locations: [
0: {
city: "New York"
state: "NY"
}
1: {
city: "Los Angeles"
state: "CA"
}
]
}
version: "1"
readonly: false
activated: true
description: "This is a sample item"
size: 111
locked: false
}

Response headers

  • etagaf2bdbe1aa9b6ec1e2ade1d694f41fc71a831d0268e9891562113d8a62add1bfA SHA-256 hash of the item.
  • last-modified2026-09-05T11:30:07.070ZThe date this item was last modified.
2024-10-29