Skip to main content
POST
/
api
/
workspaces
/
{id}
/
snapshots
/
{snapshot_id}
/
restore
Restore a workspace from a snapshot.
curl --request POST \
  --url https://api.rigbox.dev/api/workspaces/{id}/snapshots/{snapshot_id}/restore \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>",
  "workspace_id": "<string>"
}
This overwrites the current workspace state. The workspace must be stopped.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Workspace ID

snapshot_id
string
required

Snapshot ID

Response

200 - application/json

Snapshot restored

message
string
required
workspace_id
string
required