Management
DocsManagement

Package management

Rotate the proxy password, change the max concurrent connections, and toggle HTTP/SOCKS5 support per package.

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 }

PATCH /packages/{id}/protocols

Enables or disables HTTP/SOCKS5 for the package. At least one protocol must remain enabled. Disabling SOCKS5 makes port 824 stop responding for this package; disabling HTTP does the same for port 823.

PATCH/api/v1/packages/{id}/protocols
request.json
{ "protocols": ["http"] }            // HTTP only
{ "protocols": ["http", "socks5"] }  // both

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}'

# Disable SOCKS5 — port 824 stops accepting this package
curl -X PATCH https://raxyproxy.com/api/v1/packages/12/protocols \
     -H "Authorization: Bearer raxy_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
     -H "Content-Type: application/json" \
     -d '{"protocols":["http"]}'