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-16T10:02:08.279Z",
  "updated_at": "2018-11-16T10:02:08.279Z",
  "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

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

Subnet numeric identifier

Validations:

  • Must be a number.