---
title: "Update a proxy"
method: PATCH
path: "/connect/proxies/{id}"
tags: ["Connect Proxies"]
---

# Update a proxy

`PATCH /connect/proxies/{id}`

## Request

- Base URL: `https://api.mobilerun.ai`
- URL: `https://api.mobilerun.ai/connect/proxies/{id}`
- Auth: HTTP bearer

Renames the proxy identified by the path ID.

## Path parameters

- `id` string, uuid, required

## Request body

- UpdateProxyRequest
  - `name` string, nullable: New display name, up to 64 characters excluding surrounding whitespace, and containing no NUL. Send null (or an empty/whitespace-only string) to drop a custom name and go back to the generated label. Omit to leave the name unchanged.

## Response `200`

The updated proxy.

- Proxy: A provisioned proxy without its credentials.
  - `billingMode` 'included' | 'standalone_paid'
  - `country` string, required: ISO 3166-1 alpha-2 country code (lowercase).
  - `createdAt` string, date-time, required
  - `host` string, required
  - `id` string, uuid, required
  - `name` string, required: Display name for the proxy. Set it on create or change it with PATCH; when no name has been set, a label generated from the proxy's country, type, and id is returned instead — so this is never empty.
  - `port` integer, required
  - `status` 'checking' | 'pending_payment' | 'provisioning' | 'active' | 'cancelling' | 'ended' | 'error', required: Lifecycle of a proxy. A freshly created proxy is `checking` while its billing identity is being resolved — clients should poll until a `paymentUrl` or a later status appears — then `provisioning` — or `pending_payment` until the customer completes checkout — and becomes `active` once its upstream is assigned. `cancelling` retains full access through the paid period; when the subscription expires the proxy is `ended`. `error` marks a failed provisioning attempt.
  - `type` 'dedicated_residential' | 'residential' | 'mobile', required
  - `username` string, required

## Other responses

- `400`: The request was invalid.
- `401`: Missing or invalid credentials.
- `404`: The resource was not found.

## Changes

- **2026-10-16** `4ad548c528a8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/droidrun/apis/droidrun-cloud/changes/connect/proxies/: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.dev/droidrun/apis/droidrun-cloud/revisions/1cc95586c933?raw)
