This page describes all the API calls you can make regarding user administration.
You will always receive the output as described in the documentation below unless an error ocurred. For more information, see the error handling section.
Actions
Parameter | Context | Type | Description |
---|---|---|---|
No parameters |
Parameter | Context | Type | Description |
---|---|---|---|
ranges | array | Your network ranges. | vlanId | ranges | int | The vlan ID | gateway | ranges | string | The gateway IP. | netmask | ranges | string | The range netmask (IPv4 only). | startIp | ranges | string | The start ip in this range. | firstUsableIp | ranges | string | The first usable ip in this range. | lastUsableIp | ranges | string | The last usable ip in this range. | prefix | ranges | string | CIDR prefix, including leading slash. | location | ranges | array | The location where this range belongs to. |
Example
Array ( [status] => Success [msg] => OK [data] => stdClass Object ( [ranges] => Array ( [0] => Array ( [vlanId] => 1184 [gateway] => 203.0.113.1 [netmask] => 255.255.255.0 [startIp] => 203.0.113.3 [firstUsableIp] => 203.0.113.3 [lastUsableIp] => 203.0.113.254 [prefix] => /24 [location] => Array ( [LocationId] => 6 [LocationName] => US: Dallas - TX [DatacenterCode] => usdal1 [LocationShortName] => dfw [Country] => US [City] => Dallas [Address] => Flexential DAL01, 1950 North Stemmons Freeway, Dallas, TX, 75207, United States ) ) [1] => Array ( [vlanId] => 1132 [gateway] => 203.0.113.1 [netmask] => 255.255.255.0 [startIp] => 203.0.113.3 [firstUsableIp] => 203.0.113.3 [lastUsableIp] => 203.0.113.254 [prefix] => /25 [location] => Array ( [LocationId] => 3 [LocationName] => EU: Frankfurt [DatacenterCode] => defra1 [LocationShortName] => fra [Country] => DE [City] => Frankfurt [Address] => Interxion FRA1, Hanauer Landstrasse 298, 60314 Frankfurt am Main, Germany ) ) ) ) )