Archive
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}/archiveOperation: archiveWorkspace · Download OpenAPI
Access
Section titled “Access”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"}Parameters
Section titled “Parameters”| 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"}X-CSRF-Token
Section titled “X-CSRF-Token”{ "type": "string"}Origin
Section titled “Origin”{ "type": "string", "format": "uri"}Request body
Section titled “Request body”Required: Yes.
application/json
Section titled “application/json”| Field | Type | Required | Constraints / description |
|---|---|---|---|
version |
integer | Yes | minimum: 1 |
{ "type": "object", "properties": { "version": { "type": "integer", "minimum": 1 } }, "required": [ "version" ], "additionalProperties": false}Responses
Section titled “Responses”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"}Related guidance
Section titled “Related guidance”Choose whether we remember appearance preferences and use Google Analytics on Localisync and its documentation. Optional storage stays off until you accept.
Read our cookie policy