# RestoreWorkspaceByIdDefinition

**Kind**: interface | **Module**: [Workspaces](https://docs.interop.io/browser/reference/javascript/workspaces/index.md)

**Source**: https://docs.interop.io/browser/reference/javascript/workspaces/restoreworkspacebyiddefinition/index.html

Describes a Workspace to be restored from a Workspace Layout by the unique ID of the Layout.
*Available only in **io.Connect Desktop**.*

*Since: io.Connect Desktop 10.5, @interopio/workspaces-api 5.0.0*

## Properties

- **`id`** (`string`, required)
  Unique ID of the Workspace Layout to restore.
  The Workspace Layout with the specified ID must exist, otherwise the operation will fail.
- **`restoreOptions`** (`RestoreWorkspaceConfig`, optional)
  Options for restoring the Workspace.

## Related types

- [RestoreWorkspaceConfig](https://docs.interop.io/browser/reference/javascript/workspaces/restoreworkspaceconfig/index.md)
