Update a document in Openpolicy Open Policy Agent (OPA)
A documented Openpolicy Open Policy Agent (OPA) operation that changes something in your account. Describe the outcome you want in plain words — HumDay writes the program, proves it, and runs it.
What this operation does
Update a document
- PATCHChanges data · Data API
openpolicy.local/v1/data/{path}
How HumDay uses it
- You describe the outcome. Not this operation by name — what you want to happen. HumDay works out which operations it needs.
- The contract names it. Before anything is built, you see exactly which Openpolicy Open Policy Agent (OPA) operations the program may use, and this is one of them.
- You approve access. Because this one changes data, it cannot run until you have explicitly granted it.
Other Openpolicy Open Policy Agent (OPA) operations
- Execute a simple queryPOST · changes data
- Get a document (with webhook)POST · changes data
- Create or overwrite a documentPUT · changes data
- Execute an ad-hoc query (complex)POST · changes data
- Delete a documentDELETE · changes data
- Get a document (with input)POST · changes data
- Create or update a policy modulePUT · changes data
- Delete a policy moduleDELETE · changes data
Questions
- Can HumDay update a document in Openpolicy Open Policy Agent (OPA)?
- Yes. This operation is published in Openpolicy Open Policy Agent (OPA)'s own API description, so HumDay can use it without a hand-built connector — once you have approved it for your automation.
- Will this change my Openpolicy Open Policy Agent (OPA) data?
- Yes — this is a PATCH operation, so it changes something in Openpolicy Open Policy Agent (OPA). HumDay holds anything that writes behind an approval you grant explicitly, and the contract you approve says what it may touch.
- Do I need to write code?
- No. You describe the outcome you want in plain words. HumDay agrees a contract with you, writes the program, and shows you a proof run before anything touches your Openpolicy Open Policy Agent (OPA) account.
Where this came from
Read from a published API description for Openpolicy Open Policy Agent (OPA) at raw.githubusercontent.com/open-policy-agent/contrib/master/open_api/openapi.yaml. The description above is the provider’s own wording, not ours. Last published 2023-03-06.