authz-policies

Activate an authz policy version (rollback)

(reserved for future use) Makes the given version of the named policy active and syncs it to OPA.

Required scope: `policy:authz:manage`

post/authz/policies/{name}/versions/{version}/activate

Response

Version activated

namestring required

Policy name (also the Rego package suffix).

versioninteger required

Monotonic version within (tenant, name).

rego_sha256string required

SHA-256 of the Rego source.

descriptionstring nullable
statusstring required

active or archived.

created_bystring required

User id that created this version.

created_atstring nullable
activated_atstring nullable
regostring nullable

Rego source (included only on single-policy or version reads).

Changes

Changed in 1 of the 71 revisions of this API.1

Of the 71 revisions, 18 have no diff computed.