Skip to main content
PATCH
/
v1
/
proxies
/
allocate
/
renew
cURL
curl --request PATCH \
  --url https://cmd.illusory.io/v1/proxies/allocate/renew \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "proxies": {
    "time": [
      {
        "proxy_name": "IL-US-AU1-9999",
        "auto_renew": true,
        "interval": 1
      },
      {
        "proxy_name": "IL-US-AU1-9998",
        "auto_renew": true,
        "interval": 1
      }
    ]
  }
}'
{
  "ok": true,
  "message": "Sent proxy allocation renew settings successfully.",
  "data": {
    "proxies": {
      "time": [
        {
          "proxy_name": "IL-US-AU1-9999",
          "auto_renew": true,
          "interval": 1
        }
      ]
    }
  }
}
You can specify whether you want specific proxies to automatically allocate time when they expire. If enabled, the proxy will automatically renew for the same amount of time as the current period.
If disabled, the proxy will expire and be removed from your account unless you manually allocate time it.

Authorizations

Authorization
string
header
required

Body

application/json
proxies
object
required
Example:

Response

ok
boolean
message
string
Example:
data
object
Example: