---
title: "Report which folders the owner chose to share"
method: PUT
path: "/v1/computer-runners/access"
tags: ["Internal"]
---

# Report which folders the owner chose to share

`PUT /v1/computer-runners/access`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/computer-runners/access`
- Auth: HTTP bearer

Saves the owner’s sharing choices without clearing any revocations already recorded in Den.

## Request body

- object
  - `choice` 'allow' | 'off', nullable, required
  - `grants` object[], required
    - `source` union, required
      - object
        - `kind` 'workbot', required
      - object
        - `kind` 'computer', required
        - `id` string, required
      - object
        - `kind` 'owner', required
    - `folders` string[], required
    - `writableFolders` string[]

## Response `200`

Access saved.

- object
  - `ok` true, required

## Other responses

- `400`: Invalid access report.
- `401`: The runner token was missing, expired, or its owner is no longer an active member.
- `403`: This computer cannot use the sandbox or has been disconnected.
- `404`: Computers is disabled or the computer or command was not found.

## Changes

- **2026-11-28** `6aa21cd7a1ac`: 1 info
  - added the new optional request property `grants/items/writableFolders`
- **2026-11-28** `974b1bd609d3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/computer-runners/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)
