Remove a Rego policy

DELETE/api/v1/integrations/opa/policies/{name}

Parameters

This endpoint does not accept parameters.

Responses

204Policy removed

Request

curl -X DELETE "https://api.knowledgetree.dev/api/v1/integrations/opa/policies/{name}" \
  -H "Authorization: Bearer $KT_API_TOKEN"

Response

204Policy removed
Example response not yet documented.