v52

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-0393116227.2 KB
authz-policies

Create or update an authz policy

(reserved for future use) Validates the Rego policy (compile + smoke test in an isolated sandbox) and registers it as a new active version, then syncs it to OPA.

Required roles: All

post/authz/policies

Request body

namestring required
regostring required

Rego source. package must be qaip.authz.tenants["<tenant>"]["<name>"].

descriptionstring

Response

Policy created

namestring required
versioninteger required
rego_sha256string required
warningsstring[] required