---
title: "Update a SOCKS5 user"
method: PATCH
path: "/connect/users/{id}"
tags: ["Users"]
---

# Update a SOCKS5 user

`PATCH /connect/users/{id}`

Rebind the user to a different proxy (or detach it by passing null).

## Request body

- UpdateUserRequest
  - `proxyId` string, uuid, nullable — Proxy to rebind to, or null to detach. Omit to leave the user's current binding unchanged — only an explicit null detaches.

## Response `200`

The updated user.

- User — A SOCKS5 credential without its password.
  - `createdAt` string, date-time, required
  - `id` string, uuid, required
  - `proxyId` string, uuid, nullable — The proxy this user routes to (dedicated routing), or null if unbound.
  - `username` string, required

## Other responses

- `400` — The request was invalid.
- `401` — The X-User-ID header was missing or invalid, or a present X-Owner-Id header was not a uuid.
- `404` — The resource was not found.

## Changes

- **2026-07-08** `6d835ec1e768` — 1 info
  - the endpoint scheme security `OwnerIDHeader AND UserIDHeader` was added to the API
- **2026-07-01** `1229ad911e2e` — 2 info
  - api tag `Users` added
  - api tag `users` removed
- **2026-06-05** `49b7fa16d8f6` — 1 info
  - endpoint added
- **2026-05-30** `51d2493ba0f4` — 1 breaking
  - api path removed without deprecation
- **2026-05-30** `d06ce0f3c00d` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/droidrun/apis/droidrun-cloud/changes/connect/users/:id/patch.md)

---

[API](https://skmtc.dev/droidrun/apis/droidrun-cloud.md) · [All operations](https://skmtc.dev/droidrun/apis/droidrun-cloud/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/droidrun/droidrun-cloud/revisions/a1453ac769d4/schema)
