---
title: "Choose whether my OpenWork apps can access my entire virtual computer"
method: PUT
path: "/v1/computers/{computerId}/access"
tags: ["Devices"]
---

# Choose whether my OpenWork apps can access my entire virtual computer

`PUT /v1/computers/{computerId}/access`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/computers/{computerId}/access`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Only the owner can allow their OpenWork apps to access the entire registered virtual computer. Allowing access requires agreeing to let those apps use the entire computer and choosing one working folder, which is a starting point, not an access limit. Turning access off revokes permission. The organization can still turn access off. This setting isn't available for personal or Workbot computers. Requires active organization membership and Computers.

## Path parameters

- `computerId` string, typeid, required

## Request body

- union
  - object
    - `choice` 'allow', required
    - `scope` 'whole_vm', required
    - `folders` string[], required
  - object
    - `choice` 'off', required
    - `folders` string[]

## Response `200`

The computer with its saved access choice and working folder, if allowed.

- object
  - `computer` ListedComputer, required
    - `id` string, required
    - `kind` 'cloud_sandbox' | 'registered_vm' | 'member_machine', required
    - `provider` 'openwork_desktop' | 'workbot' | 'freestyle' | 'daytona' | 'mac_host' | 'other', required
    - `label` string, required
    - `ownerMemberId` string, nullable, required
    - `availability` 'online' | 'paused' | 'needs_setup' | 'offline' | 'unknown', required
    - `state` 'ready' | 'starts_when_needed' | 'has_a_problem' | 'online' | 'offline', required
    - `lastSeenAt` string, date-time, nullable, required
    - `access` object, nullable, required
      - `choice` 'allow' | 'off', nullable, required
      - `scope` 'whole_vm'
      - `folders` string[], required
    - `reach` union, required
      - object
        - `outcome` 'allow', required
        - `route` 'direct', required
        - `scope` unknown, required
      - object
        - `outcome` 'allow', required
        - `route` 'checked', required
        - `scope` union, required
          - object
            - `surface` 'sandbox', required
            - `folders` string[], required
            - `writableFolders` string[]
          - object
            - `surface` 'whole_vm', required
            - `folders` string[], required
      - object
        - `outcome` 'refuse', required
        - `layer` 'organization' | 'computer' | 'source', required
        - `code` 'organization_off' | 'computer_not_allowed' | 'not_available_yet' | 'owner_app_only' | 'nothing_shared' | 'folder_not_shared' | 'sandbox_unavailable' | 'source_not_allowed' | 'folder_read_only' | 'not_owner', required
        - `message` string, required
        - `changeableBy` 'organization_admin' | 'computer_owner' | 'no_one', required

## Other responses

- `400`: Invalid computer id or request body.
- `401`: Sign in required.
- `404`: No such computer for this member or Computers is off.
- `409`: This computer cannot be configured here.

## Changes

- **2026-11-28** `6aa21cd7a1ac`: 1 breaking, 1 info
  - added `subschema #1, subschema #2` to the `computer/reach` response property `oneOf` list for the response status `200`
  - removed `subschema #1, subschema #2` from the `computer/reach` response property `oneOf` list for the response status `200`
- **2026-11-28** `974b1bd609d3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/computers/:computerId/access/put.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) - [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/84fb0f99fb95?raw)
