Skip to main content
POST
Restore previous version
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

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

Response

string
The automation’s ID
string
The automation’s name after the restore
string
enabled or disabled — the on/off state the automation had going into the restore is preserved
string
The ID of the version that is now live
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)