You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The OPA v1/data API supports deletion/removal of data via JSON Patch, however, in some cases, it's easier to call v1/data with DELETE instead of crafting the JSON Patch. For example:
- Support for DELETE(ing) /data resources
- Deleting non existing resources returns 404
- Deleting a resources and then GETting it returns 200
with empty body
- GETting resources that were not explicitly deleted before
will return 200OK with body {"result": {}}
- Fixes#609
-
The OPA v1/data API supports deletion/removal of data via JSON Patch, however, in some cases, it's easier to call v1/data with DELETE instead of crafting the JSON Patch. For example:
Instead of:
Callers would:
The implementation should be relatively straightforward:
storage.Store#Write(remove, <path>, nil)
The text was updated successfully, but these errors were encountered: