Skip to main content
POST
Update Proxy
Auth: TokenAccount or TokenInstanceRate-limit: Global (100/min) • Idempotent: yes

Description

Sets an HTTP, HTTPS, or SOCKS5 proxy specific to the instance. The configuration only takes effect after /reconnect or a new /connect.

Examples

Authenticated SOCKS5

Configures a SOCKS5 proxy on port 1080 with user and password. The password is encrypted at-rest with AES-256-GCM and never returns in plaintext in the response.

HTTP without auth

Points to an internal HTTP proxy (10.0.0.5:3128) without credentials, common scenario in corporate networks with auth-by-IP or open proxy.

Disable

Sends only enabled: false to remove the individual proxy from the instance. It goes back to using the deploy global proxy (if any) or a direct connection on the next reconnection.

Success response

200 OK
The password appears as an empty string ("") in the response, the server never returns the password in plaintext.

Path parameters

string
required
Instance name.

Headers

string
required
TokenAccount or TokenInstance.
string
required
application/json.

Request body

boolean
required
Enables/disables the instance proxy.
string
IP or hostname. Required if enabled=true.
string
Port as a string ("1080", "8080"). Required if enabled=true.
string
"http", "https", or "socks5". Required if enabled=true.
string
User (optional).
string
Password (optional, encrypted at-rest).

Rules

  • enabled=true requires host, port, and protocol.
  • protocol must be http, https, or socks5.
  • username / password are optional (open proxy or auth-by-IP).
  • enabled=false makes the instance go back to using the default deploy proxy (if any).
  • The password is encrypted at-rest (AES-256-GCM) and redacted in the response.

Notes

The instance individual proxy has priority over the deploy global proxy. If enabled=false, the instance uses the global proxy (if any) or a direct connection.
Proxy changes do not reconnect automatically, call reconnect to apply.

Errors