Skip to main content
This endpoint rolls an automation back to the version published immediately before the current one and re-publishes it — the undo for an update that made things worse. Only the previous version is supported. An automation that was turned off stays off after the restore.

Path Parameters

id string required The ID of the automation (from List automations) This endpoint takes no request body.

Response

automation_id string The automation’s ID name string The automation’s name after the restore status string enabled or disabled — the on/off state the automation had going into the restore is preserved restored_version_id string The ID of the version that is now live note string Confirmation that the previous version was restored and re-published A missing automation — or one that does not belong to your account — returns a 404.

Error codes (422)

200 Response
422 Response (nothing to roll back to)
404 Response