Policy Versions
Archive the draft policy version
Changed onArchive the open draft so a new one can be created. Nothing goes live, and the archived draft keeps its edits and lookup tables, so it can be restored with the rollback route. An automated sync that gets draft_exists from creating a draft archives the open draft this way, then creates its own, so the sync never publishes edits from the draft it archived. Edits made in the sync's new draft before it publishes do go live with it.
post/api/policy_version/draft/archive
Request
- Base URLhttps://app.herondata.io
- URLhttps://app.herondata.io/api/policy_version/draft/archive
- AuthAPI key in header x-api-key
Query parameters
user_idinteger
Account to act on. Honoured only for admins.
Response
OK
Changes
- info
endpoint added
- info