---
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.

---

[API](https://skmtc.net/mobilerun/apis/workflows.md) · [All operations](https://skmtc.net/mobilerun/apis/workflows/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mobilerun/workflows/revisions/1bc499aa8f99/schema)
