POST
/
v1
/
proxies
/
ipv4
/
{proxyName}
curl --request POST \
  --url https://cmd.illusory.io/v1/proxies/ipv4/{proxyName} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "enable": "true"
}'
{
  "ok": true,
  "message": "IPv4 update status command sent to device successfully.",
  "data": {
    "proxy_name": "ILL-US-AU1-9999",
    "last_ipv4_update": "2050-12-04T17:43:16.407+00:00",
    "ipv4": true
  }
}

IPv4 addresses can be toggled on and off for a proxy. When toggled off, the proxy will only be assigned an IPv6 and no IPv4 will be assigned.

Some sites may be unreachable with IPv6 only enabled. Please test your site with IPv6 before disabling IPv4. To test the target site for IPv6 readiness, you can use a service like Domsignal.

Authorizations

Authorization
string
headerrequired

The Authorization header is used to authenticate with the API using your Master API key. Value is of the format Bearer YOUR_KEY_HERE.

Path Parameters

proxyName
string
required

Replace {proxyName} in the url path with YOUR_PROXY.

Body

application/json
enable
boolean
required

IPv4 status value. If enable = true, then the proxy will have IPv4 enabled. Default: true

Response

202 - application/json
ok
boolean

Indicates whether the request was successful e.g., true

message
string

Success message

data
object