Skip to main content
PATCH
Move computer to another workspace
Moves a computer to a different workspace. The computer keeps its state, configuration, and IDs. Only its parent workspace changes. You must own both the source and the destination workspace. Being a member of either is not enough. A workspace-scoped API key can never move a computer, because a move always crosses a workspace boundary.

Path parameters

string
required
Computer UUID or instance_id. Both resolve to the same computer.

Body parameters

Send the destination workspace under workspace_id.
string
required
ID of the destination workspace. Must be owned by the same user, and must differ from the computer’s current workspace.
A request with no workspace_id returns 400. The older name project_id is also accepted; workspace_id wins when you send both.

Response

boolean
true when the move succeeded.
string
The destination workspace ID, echoed back.
string
The same destination workspace ID under its legacy name, for older clients.

Example

Response

Errors

Authorizations

Authorization
string
header
required

API key authentication. Get your key at orgo.ai/workspaces

Path Parameters

id
string
required

Computer ID

Body

application/json

The destination workspace.

workspace_id
string
required

Destination workspace ID. Must be a workspace you own, and must differ from the computer's current workspace.

Example:

"550e8400-e29b-41d4-a716-446655440000"

Response

Computer moved

success
boolean
Example:

true

workspace_id
string

The workspace the computer now belongs to.

Example:

"550e8400-e29b-41d4-a716-446655440000"

project_id
string

The same destination workspace ID under its legacy name.