Policy Versions

Roll back to an archived policy version

Changed on

Clone an archived version's policy_definition into a new draft. Pass publish=true to publish the new version immediately.

post/api/policy_version/{version}/rollback

Request

  • Base URL
    https://app.herondata.io
  • URL
    https://app.herondata.io/api/policy_version/{version}/rollback
  • Auth
    API key in header x-api-key

Path parameters

versioninteger required

Query parameters

publishboolean
overwrite_draftboolean

Replace an existing draft in the same transaction. Without it, an existing draft returns 422.

user_idinteger

Account to act on. Honoured only for admins.

Response

OK

Changes

    • warning

      added the new industry_category enum value to the //////////// response property for the response status

    • warning

      added the new industry_category enum value to the /////////////// response property for the response status

    • warning

      added the new industry_category enum value to the ////////// response property for the response status

    • warning

      added the new industry_category enum value to the /////////////// response property for the response status

    • info

      endpoint added