Workspaces

Restore an archived workspace

Reverse a soft-archive. Idempotent on workspaces that aren't archived. Emits a workspace.unarchived event carrying the previous archive timestamp. Editor role required.

post/api/workspaces/{slug}/unarchive

Request

  • Base URL
    https://trydock.ai
  • Auth
    HTTP bearer

Path parameters

slugstring required

Response

Restored.

Example response

{
  "workspace": {
    "id": "ws_01J5Z6Q7…",
    "slug": "launch-plan",
    "name": "Launch plan",
    "primarySurface": {
      "id": "srf_01J5Z…",
      "slug": "table"
    }
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.