Delete a data document from OPA
opa_delete_dataDelete a document from OPA's data store by specifying its path in dotted or slash format. Returns success (204) or not-found (404).
Instructions
Remove a document from OPA's data store at the given path. The path may be in dotted form (users.alice) or slash form (users/alice). OPA responds with 204 No Content on success; if no document exists at the path, OPA returns 404 which is mapped to DATA_NOT_FOUND. Root-path deletion (/v1/data/ itself) is intentionally excluded -- supply at least one path segment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Data path to delete, e.g. "users.alice" or "users/alice". Must be at least one segment deep. |