---
title: "Update a proxy config"
method: PUT
path: "/proxies/{proxyId}"
tags: ["Proxies"]
---

# Update a proxy config

`PUT /proxies/{proxyId}`

Replaces the proxy config identified by `proxyId` with the provided body. As with creation, the body is a `protocol`-discriminated union of socks5 or wireguard fields. Returns the updated config.

## Path parameters

- `proxyId` string, uuid, required

## Request body

- union
  - UpdateSocks5Proxy
    - `name` string, required
    - `protocol` 'socks5', required
    - `host` string, required
    - `port` integer, required
    - `user` string, required
    - `password` string, required
  - UpdateWireguardProxy
    - `name` string, required
    - `protocol` 'wireguard', required
    - `config` string, required

## Response `200`

Proxy updated

- object
  - `success` true, required
  - `message` string, required
  - `data` union, required
    - Socks5ProxyConfig
      - `name` string, required
      - `protocol` 'socks5', required
      - `host` string, required
      - `port` integer, required
      - `user` string, required
      - `password` string, required
      - `proxyId` string, uuid, required
    - WireguardProxyConfig
      - `name` string, required
      - `protocol` 'wireguard', required
      - `config` string, required
      - `proxyId` string, uuid, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error

## Changes

- **2026-06-19** `ec76cd771e68` — 1 info
  - added the media type `application/json` for the response with the status `404`
- **2026-05-30** `51d2493ba0f4` — 1 info
  - endpoint added
- **2026-05-30** `d06ce0f3c00d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/droidrun/apis/droidrun-cloud/changes/proxies/:proxyId/put.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/b6fd8aed4bf4/schema)
