Skip to main content
POST
Create policy version

Authorizations

X-API-Key
string
header
required

API key for authentication

Headers

X-Organization-Id
string

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

Path Parameters

id
string
required

Policy ID

Example:

"pol_abc123def456"

Body

application/json

Create a new policy version draft

sourceVersionId
string

Optional version ID to base the new version on

Example:

"pv_abc123def456"

changelog
string

Optional changelog to associate with the new version

Example:

"Initial draft for quarterly updates"

Response

Policy version created

versionId
string
version
number