Restore a dashboard version

POST/api/v1/dashboards/{dashboard_id}/versions/{version_id}/restore

Roll the dashboard back to a stored version. The version's spec is re-validated against the current schema first (a 400 means the version predates an incompatible schema change), and the state being overwritten is saved as a new version first — so the restore itself is undoable via undo_version_number.

Operation ID: restore_dashboard_version_api_v1_dashboards__dashboard_id__versions__version_id__restore_post·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

dashboard_idstringrequired
version_idstringrequired

Responses

201Successful Response

successboolean
messagestring
codestring
dataRestoreVersionResponse

400Bad Request - Invalid input

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

404Not Found - Resource does not exist

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject