Delete partial item data

Delete part of an item's data.

This route uses JSON pointer syntax to specify the data to delete.

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

On a list with write rules, this is checked against the rules for update before anything is written. A write nothing authorises is refused with 403, one that fails a check with 400 and the rule's message, and one whose item changed while it was being written with 409.

Example

cURL
123curl https://api.jsonpad.io/lists/234abe19-4998-4a19-bcc7-9864932b3950/items/ef0a3603-10ec-4333-8275-84ffc45d3d5b/data/locations/0 \ -X DELETE \ -H "x-api-token: <YOUR TOKEN>"

Parameters

  • required
    listIdstringA list id or path name.
  • required
    itemIdstringAn item id or alias.
  • required
    pointerstringA JSON pointer to the field in the item's data that will be returned.
  • optional
    includeDatabooleanhttps://api.jsonpad.io/lists/f23d3b69-2408-4817-ae74-13935a40a11c/items/066de649-fc09-4fbd-b585-44e3985dc596/data/locations/0?includeData=true

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

    Defaults to true.

  • optional
    includeGuardedboolean?includeGuarded=true

    Include values hidden by guard indexes in the response. Can be true or false.

    This only applies when the request is authenticated as an identity, and only to the items that identity owns. Without an identity, guarded values stay hidden.

    Defaults to false.

Request headers

  • required
    x-api-tokenstringYour API token.
  • optional
    if-matchstring

    The item's ETag, from the etag header of the response you last read or wrote it with.

    If the item has changed since then, nothing is written and we return a 412 ("Precondition failed") response. Fetch the item again and retry. See conditional writes.

  • optional
    x-identity-tokenstringAn identity token.
  • optional
    x-identity-groupstringAn identity group.

Request body

No request body

Response body

200 OK
{
id: "5081ac0f-a5dd-4742-8e09-5c7a45cf72b5"
createdAt: "2026-09-23T21:08:31.842Z"
updatedAt: "2026-09-23T21:08:31.842Z"
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"
tags: [
0: "my-app"
]
size: 111
locked: false
identity: {
id: "b9a380df-f207-4178-9f98-1ba0532f9869"
displayName: "Sample Display Name"
}
}

Response headers

  • etagaf2bdbe1aa9b6ec1e2ade1d694f41fc71a831d0268e9891562113d8a62add1bfA SHA-256 hash of the item.
  • last-modified2026-09-23T21:08:31.842ZThe date this item was last modified.
2026-09-22