Skip to main content
PUT
/
orders
/
{order_id}
/
whitelist
Update IP whitelist
curl --request PUT \
  --url https://api.proxyjam.com/public/v1/orders/{order_id}/whitelist \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "whitelisted_ips": [
    {}
  ]
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.proxyjam.com/llms.txt

Use this file to discover all available pages before exploring further.

Replaces the IP whitelist at the provider level. Proxies using IP-whitelist authentication accept connections only from addresses on this list. Sending an empty array disables IP-whitelist authentication and falls back to username/password auth.

Path parameters

order_id
string
required
UUID of the order.

Request body

whitelisted_ips
array
required
List of IPv4 addresses to allow. Send an empty array to clear the whitelist.

Response

Updated proxy object with the new whitelisted_ips. Same shape as the managed_proxy object in Get order.

Example

curl -X PUT "https://api.proxyjam.com/public/v1/orders/997b4450-e7ae-4ad9-8a25-996e582049c9/whitelist" \
  -H "X-API-Key: pj_AbCdEf..." \
  -H "Content-Type: application/json" \
  -d '{"whitelisted_ips": ["203.0.113.10", "203.0.113.11"]}'