policy

Replace the policy (two-step)

confirm:false returns a preview with the diff; confirm:true saves a new version. New or changed row rules need canary.row_level (ADR-0041) and must parse; every group a rule names must be in groups; orgAdminCanEdit is super_admin only.

put/api/orgs/{orgId}/policy

Request

  • Base URL: https://api.wizbi.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.wizbi.ai/api/orgs/{orgId}/policy
  • Auth: none declared

Path parameters

orgIdstring required

Request body

groupsstring[]
orgAdminCanEditboolean
notestring
versioninteger
confirmboolean

Response

Preview or the saved policy.

Changes

No recorded changes to this operation across all 2 revisions of this API.