Examples

GET /api/subnets/1018350796-subnet532
200
{
  "network": "103.205.217.0",
  "network_type": "IPv4",
  "cidr": 24,
  "mask": "255.255.255.0",
  "priority": null,
  "vlanid": null,
  "mtu": 1500,
  "gateway": null,
  "dns_primary": null,
  "dns_secondary": null,
  "from": null,
  "to": null,
  "created_at": "2021-05-19 07:52:13 UTC",
  "updated_at": "2021-05-19 07:52:13 UTC",
  "ipam": "None",
  "boot_mode": "DHCP",
  "nic_delay": null,
  "id": 1018350796,
  "name": "subnet532",
  "description": null,
  "network_address": "103.205.217.0/24",
  "dhcp_id": null,
  "dhcp_name": null,
  "tftp_id": null,
  "tftp_name": null,
  "httpboot_id": null,
  "httpboot_name": null,
  "externalipam_id": null,
  "externalipam_name": null,
  "dns_id": null,
  "template_id": null,
  "template_name": null,
  "bmc_id": null,
  "bmc_name": null,
  "dhcp": null,
  "tftp": null,
  "httpboot": null,
  "externalipam": null,
  "dns": null,
  "template": null,
  "bmc": null,
  "domains": [],
  "interfaces": [],
  "parameters": [],
  "locations": [
    {
      "id": 255093256,
      "name": "Location 1",
      "title": "Location 1",
      "description": null
    }
  ],
  "organizations": [
    {
      "id": 447626438,
      "name": "Organization 1",
      "title": "Organization 1",
      "description": null
    }
  ]
}

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
required

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

show_hidden_parameters
optional

Display hidden parameter values

Validations:

  • Must be one of: true, false, 1, 0.