Skip to content
localisyncDocs
Open panel

Restore

Requires the workspace Owner. Transfer requires an existing member and makes the previous Owner an Admin. Workspace archival revokes pending invitations; restoration does not revive them.

POST /api/v1/workspaces/{id}/restore

Operation: restoreWorkspace · Download OpenAPI

Requires an authenticated Localisync panel session. The API checks current membership and permissions for workspace operations. See authentication and request rules.

sessionCookie

{
"type": "apiKey",
"in": "cookie",
"name": "__Host-localisync-session"
}
Name Location Required Description
id path Yes See constraints below.
X-CSRF-Token header Yes See constraints below.
Origin header Yes See constraints below.
{
"type": "string",
"format": "uuid"
}
{
"type": "string"
}
{
"type": "string",
"format": "uri"
}

Required: Yes.

Field Type Required Constraints / description
version integer Yes minimum: 1
{
"type": "object",
"properties": {
"version": {
"type": "integer",
"minimum": 1
}
},
"required": [
"version"
],
"additionalProperties": false
}

Completed.

Content type: application/json Schema reference: Workspace.

Field Type Required Constraints / description
id string Yes format: "uuid"
name string Yes —
ownerIdentityId string Yes format: "uuid"
version integer Yes minimum: 1
archivedAt string or null Yes format: "date-time"
createdAt string Yes format: "date-time"
role Owner, Admin, Editor, Viewer Yes —
{
"$ref": "#/components/schemas/Workspace"
}

Invalid request fields, identifier, pagination or idempotency key.

Content type: application/json Schema reference: Error.

Field Type Required Constraints / description
error string Yes —
message string Yes —
requestId string No —
{
"$ref": "#/components/schemas/Error"
}

An authenticated, verified customer session is required.

Content type: application/json Schema reference: Error.

Field Type Required Constraints / description
error string Yes —
message string Yes —
requestId string No —
{
"$ref": "#/components/schemas/Error"
}

The current member lacks permission or CSRF/Origin validation failed.

Content type: application/json Schema reference: Error.

Field Type Required Constraints / description
error string Yes —
message string Yes —
requestId string No —
{
"$ref": "#/components/schemas/Error"
}

The resource is missing or not visible to the current customer.

Content type: application/json Schema reference: Error.

Field Type Required Constraints / description
error string Yes —
message string Yes —
requestId string No —
{
"$ref": "#/components/schemas/Error"
}

Stale version, conflicting idempotency key or unavailable invitation/workspace state.

Content type: application/json Schema reference: Error.

Field Type Required Constraints / description
error string Yes —
message string Yes —
requestId string No —
{
"$ref": "#/components/schemas/Error"
}

Request or invitation send limit reached. Respect Retry-After in seconds; route limits return the remaining window, invitation limits return 60.

Content type: application/json Schema reference: Error.

Field Type Required Constraints / description
error string Yes —
message string Yes —
requestId string No —
{
"$ref": "#/components/schemas/Error"
}

A required database, identity or email service is unavailable; no successful send is claimed.

Content type: application/json Schema reference: Error.

Field Type Required Constraints / description
error string Yes —
message string Yes —
requestId string No —
{
"$ref": "#/components/schemas/Error"
}

Request errors and safe retries · Troubleshooting

Cookie preferences

Your choice applies to localisync.com and docs.localisync.com. You can change it at any time using Cookie settings.