Examples

DELETE /api/subnets/980190962
{
  "subnet": {}
}
200
{
  "id": 980190962,
  "network": "2.3.4.0",
  "mask": "255.255.255.0",
  "priority": null,
  "name": "one",
  "vlanid": 41,
  "created_at": "2018-07-24T13:13:41.110Z",
  "updated_at": "2018-07-24T13:13:41.110Z",
  "dhcp_id": 980190962,
  "tftp_id": 298486374,
  "gateway": null,
  "dns_primary": null,
  "dns_secondary": null,
  "from": null,
  "to": null,
  "dns_id": 113629430,
  "boot_mode": "DHCP",
  "ipam": "None",
  "discovery_id": null,
  "description": null,
  "template_id": null,
  "mtu": 1500,
  "to_label": "one (2.3.4.0/24)",
  "type": "Subnet::Ipv4"
}

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.