Catalog/data-transform-deep-delete

Data Transform

Deep delete by path API

Immutably deletes the value at a dot+bracket path (splicing arrays, deleting keys) and reports whether anything was removed. Answers 'How do I delete a nested key or array element?', 'Was the path actually present before deletion?'.

Price$0.01per request
MethodPOST
Route/v1/data-transform/deep-delete
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
data-transformdeep-deletejsonpathnestedremovewrangle
API URLhttps://x402.hexl.dev/v1/data-transform/deep-delete
Integration docs
Example request
{
  "object": {
    "a": {
      "b": 1,
      "c": 2
    }
  },
  "path": "a.b"
}
Example response
{
  "path": "a.b",
  "deleted": true,
  "result": {
    "a": {
      "c": 2
    }
  }
}
Input schema
{
  "type": "object",
  "required": [
    "object",
    "path"
  ],
  "properties": {
    "object": {
      "type": "object",
      "examples": [
        {
          "a": {
            "b": 1,
            "c": 2
          }
        }
      ]
    },
    "path": {
      "type": "string",
      "examples": [
        "a.b"
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}