Examples

DELETE /api/subnets/51848956
{
  "subnet": {}
}
200
{
  "id": 51848956,
  "network": "2001:db10::",
  "mask": "ffff:ffff:ffff:ffff::",
  "priority": null,
  "name": "six",
  "vlanid": null,
  "created_at": "2018-11-15T19:01:27.660Z",
  "updated_at": "2018-11-15T19:01:27.660Z",
  "dhcp_id": null,
  "tftp_id": null,
  "gateway": null,
  "dns_primary": null,
  "dns_secondary": null,
  "from": null,
  "to": null,
  "dns_id": 113629430,
  "boot_mode": "DHCP",
  "ipam": "None",
  "description": null,
  "mtu": 1500,
  "template_id": null,
  "httpboot_id": null,
  "to_label": "six (2001:db10::/64)",
  "type": "Subnet::Ipv6"
}

Params

Param name Description
location_id
optional

Scope by locations

Validations:

  • Must be a Integer

organization_id
optional

Scope by organizations

Validations:

  • Must be a Integer

id
required

Subnet numeric identifier

Validations:

  • Must be a number.