Restore a workbook to a previous version
Restore a workbook to a previous version. Restoring publishes a new version with the same contents as the version restored and does not delete or overwrite any versions created.
### Usage notes
- Retrieve the **workbookId** by calling the [/v2/workbooks](https://help.sigmacomputing.com/reference/list-workbooks) endpoint.
- Retrieve available **version** numbers by calling the [/v2/workbooks/{workbookId}/version-history](https://help.sigmacomputing.com/reference/get-version-history) endpoint.
Authentication
AuthorizationBearer
OAuth authentication of the form <token>.
Path parameters
workbookId
Request
The request body.
version
The document version to restore the workbook to.
Response
The response body.
workbookId
Unique identifier of the workbook.
workbookUrlId
name
url
path
latestVersion
ownerId
createdBy
The identifier of the user who created this object.
updatedBy
The identifier of the user or process that last updated this object.
createdAt
When the object was created.
updatedAt
When the object was last updated.
isArchived
description
taggedSourceUrlId
For a workbook deployed to a tenant organization by a deployment policy with a version tag, the urlId of the original source workbook in the parent organization. Only present when includeTaggedSourceUrlId=true is included in the request.

