
OPA (Open Policy Agent) Delete
CertifiedEnterprise EditionDelete an OPA policy module
OPA (Open Policy Agent) Delete
Certified
Enterprise Edition
Delete an OPA policy module
Sends DELETE /v1/policies/{id} to remove a policy module from OPA immediately.
yaml
type: io.kestra.plugin.ee.opa.policy.DeleteExamples
Delete an OPA policy
yaml
id: delete_policy
namespace: company.team
tasks:
- id: delete_policy
type: io.kestra.plugin.ee.opa.policy.Delete
url: "{{ secret('OPA_URL') }}"
token: "{{ secret('OPA_TOKEN') }}"
policyId: "test"
Properties
policyId *Requiredstring
Policy ID
Identifier of the policy module to delete.
url *Requiredstring
OPA base URL
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
token string
Bearer token