authz-policies

Activate an authz policy version (rollback)

Changed on

(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

Request

  • Base URL
    https://developer.qaip.com/api/v1
  • URL
    https://developer.qaip.com/api/v1/authz/policies/{name}/versions/{version}/activate
  • Auth
    API key in header x-api-key

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

    • info

      added the non-success response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      endpoint added