Patch data on OPA
opa_patch_dataModify OPA data documents by applying JSON Patch (RFC 6902) operations. Specify target path and add, remove, or replace operations to update policy data.
Instructions
Apply a JSON Patch (RFC 6902) to the data document. Each operation is { op, path, value? }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Data path the patch is applied to. Use "" for the root. | |
| operations | Yes | Array of JSON Patch operations. |