Skip to content

Apply Version

POST
/policy-packages/{package_id}/versions/{version_id}/apply

Seed a tenant’s policy documents from a captured version. Every document lands as a draft for the target tenant to review, edit, and approve.

package_id
required
Package Id
string format: uuid
version_id
required
Version Id
string format: uuid
st_session
Any of:
string
ApplyRequest
object
replace_existing
Replace Existing
boolean
tenant_id
required
Tenant Id
string format: uuid

Successful Response

ApplyResult
object
created
required
Created
Array<string>
package_id
required
Package Id
string format: uuid
replaced
required
Replaced
Array<string>
skipped
required
Skipped
Array<object>
ApplySkip
object
reason
required
Reason
string
template_key
required
Template Key
string
tenant_id
required
Tenant Id
string format: uuid
version
required
Version
integer

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string