---
title: "Rename one of my computers"
method: PATCH
path: "/v1/remote-devices/{deviceId}"
tags: ["Devices"]
---

# Rename one of my computers

`PATCH /v1/remote-devices/{deviceId}`

## Request

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

Renames a virtual computer that was registered by hand. With Computers on, owners can also rename their own desktop, but cannot reuse another of their own computers' names. Workbot's computers name themselves. Requires active organization membership; device ownership and management permissions still apply.

## Path parameters

- `deviceId` string, typeid, required

## Request body

- UpdateRemoteDeviceRequest
  - `label` string, required

## Response `200`

The renamed computer.

- RemoteDeviceResponse
  - `device` RemoteDevice, required
    - `id` string, required
    - `kind` 'desktop' | 'vm', required
    - `provider` 'openwork_desktop' | 'workbot' | 'freestyle' | 'daytona' | 'mac_host' | 'other', required
    - `source` 'desktop_app' | 'workbot' | 'manual', required
    - `platform` 'darwin' | 'win32' | 'linux', nullable, required
    - `label` string, required
    - `access` 'mine' | 'shared', required
    - `availability` 'online' | 'paused' | 'needs_setup' | 'offline' | 'unknown', required
    - `state` 'ready' | 'paused' | 'setup_required' | 'unavailable' | 'unknown', required
    - `statusDetail` string, nullable, required
    - `lastSeenAt` string, date-time, nullable, required
    - `createdAt` string, date-time, required
    - `appVersion` string, nullable, required
    - `computerId` string, nullable, required
    - `workbotChat` string, nullable, required
    - `workingSince` string, date-time, nullable
    - `canRename` boolean, required
    - `canRemove` boolean, required
    - `disconnectedAt` string, date-time, nullable
    - `canDisconnect` boolean
    - `remoteAccess` RemoteDeviceAccess, nullable
      - `effective` 'off' | 'created' | 'all', required
      - `chosen` boolean, required
      - `reason` 'organization' | 'not_chosen' | 'update_required', nullable, required

## Other responses

- `400`: The request was invalid.
- `401`: Authentication required.
- `403`: This computer names itself, or it is shared and the caller cannot manage shared computers.
- `404`: No such computer for this member, or Devices is off for the organization.
- `409`: The caller already has a computer with this name.

## Changes

- **2026-11-28** `974b1bd609d3`: 1 info
  - added the non-success response with the status `409`
- **2026-11-13** `11e5b2778c01`: 1 info
  - added the optional property `device/workingSince` to the response with the `200` status
- **2026-11-12** `6a596dec3f24`: 1 info
  - added the optional property `device/remoteAccess` to the response with the `200` status
- **2026-11-11** `db574b1fc0cf`: 2 info
  - added the optional property `device/canDisconnect` to the response with the `200` status
  - added the optional property `device/disconnectedAt` to the response with the `200` status
- **2026-11-11** `c298eb7b3d3c`: 1 info
  - endpoint added

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