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

Documentation Index

Fetch the complete documentation index at: https://docs.rigbox.dev/llms.txt

Use this file to discover all available pages before exploring further.

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