Skip to main content
POST
Publish the draft policy version

Authorizations

x-api-key
string
header
required

Body

application/json
expected_active_version
integer | null
required

The active version number when you reviewed the draft, or null if none was active.

expected_draft_revision
string
required

The draft_revision of the draft you reviewed.

expected_tables_revision
string

The tables_revision of the publish preview you reviewed. Refuses the publish if a lookup table the draft uses changed since, including between the preview and saving the draft.

Response

OK

issues
object[]

Warnings that did not stop the publish

policy_version
object