OPA (Open Policy Agent) Delete

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.Delete

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

Policy ID

Identifier of the policy module to delete.

OPA base URL

Reference (ref) of the pluginDefaults to apply to this task.

Bearer token