v50

latestOpenAPI 3.0.0raw.githubusercontent.com2026-06-15367117899.6 KB
Policies

Publish new policy version

Publish new policy version in Betayum. Create, version, publish, export, map, and improve compliance policies with AI-assisted drafting and approval workflows.

post/v1/policies/{id}/versions/publish

Path parameters

idstring required
Example:pol_abc123def456

Policy ID

Headers

X-Organization-Idstring

Organization ID (required for session auth, optional for API key auth)

Request body

setAsActiveboolean

Whether to set this version as the active version

changelogstring

Optional changelog to associate with the published version

Example request

{
  "setAsActive": true,
  "changelog": "Updated access controls section"
}

Response

Version published

versionIdstring
versionnumber