Make an organization sandbox private
unshare_sandboxMake a shared organization sandbox private again so only its creator can access it. Preserve files, installs, and environment while removing teammates' SSH keys.
Instructions
Make an organization sandbox private. Make a shared organization sandbox private again, at once. Only you can then use it. Teammates still see it in their list and can stop it. Their SSH keys are removed from the running machine.
Nothing on the sandbox changes: files, installs and its environment stay. Undo with
POST /sandboxes/{sandboxId}/share.
Only the person who created the sandbox can make it private, and only a sandbox billed to an organization. Making a private sandbox private is a no-op.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sandboxId": "<sandboxId>"
},
"name": "unshare_sandbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sandboxId | Yes | Public Sandbox id returned by create/list/get sandbox calls. |