Management
DocsManagement

Package management

Rotate the proxy password and change the max concurrent connections per package. HTTP and SOCKS5 are always enabled.

POST /packages/{id}/rotate-password

Generates a new proxy password and immediately invalidates the previous one. The new password is returned in the response — store it before the call returns: there is no way to fetch it again later except through GET /packages/{id}.

POST/api/v1/packages/{id}/rotate-password
response.json
{
  "data": {
    "password":   "8e2c9b14a7f0d3e5",
    "rotated_at": "2026-05-29T11:42:00+00:00"
  },
  "meta": { "version": "v1" }
}

Rotating breaks live connections

Any existing client using the old password will be cut off the moment this endpoint returns. Schedule rotation during low-traffic windows or update all clients first via your configuration system.

PATCH /packages/{id}/threads

Updates the maximum number of concurrent TCP connections this package may hold open. Range: 1–2000. Defaults to 1000 at provisioning.

PATCH/api/v1/packages/{id}/threads
request.json
{ "threads": 500 }

HTTP & SOCKS5

Both protocols are always enabled for every package — nothing to configure. Use port 823 for HTTP(S) or port 824 for SOCKS5 with the same credentials. The former PATCH /packages/{id}/protocols endpoint has been removed: it could only disable one of the protocols, which broke clients.

Code examples

management.sh
# Rotate password
curl -X POST https://raxyproxy.com/api/v1/packages/12/rotate-password \
     -H "Authorization: Bearer raxy_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

# Cap threads to 500
curl -X PATCH https://raxyproxy.com/api/v1/packages/12/threads \
     -H "Authorization: Bearer raxy_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
     -H "Content-Type: application/json" \
     -d '{"threads":500}'