org

Archive: new provisions/wakes/submits refuse; stop_nodes optional [org admin or manager token]

Archive a workspace - one workspace of your own org, reversible, with nothing deleted. New node creates, wakes, command runs, and job submits in it are refused (with a message naming who archived it and why); running nodes keep running until stopped, reads and billing history stay, and nothing is deleted - unarchive_workspace reverses it. This is the per-workspace containment lever (one misbehaving tenant, one course that ended) - org-wide levers stay on /team. Pass stop_nodes to also stop the workspace's running nodes (disks park; files survive). The default workspace can't be archived. Org admins, or a manager service token.

post/preview/org/workspaces/{slug}/archive

Request

  • Base URL: https://autoresearch.sfcompute.com
  • URL: https://autoresearch.sfcompute.com/preview/org/workspaces/{slug}/archive
  • Auth: HTTP bearer

Path parameters

slugstring required

The workspace slug.

Query parameters

workspacestring

Act in this workspace (its slug). Omitted: the token's bound workspace, then the organization's default. Never ambient - there is no switch-workspace mutation on this door.

Request body

orgstring nullable

Organization (uuid or name); omitted = your active org.

reasonstring nullable

Why (shown in the refusal new work in this workspace gets).

stop_nodesboolean nullable

Also stop the workspace's running nodes (disks park; files survive). Default false: running work drains on its own.

Response

The capability's JSON result.

objectstring

The resource type, when the result is one resource.

Changes

No recorded changes to this operation across all 1 revision of this API.