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": "2021-09-01T13:49:21.017Z",
  "updated_at": "2021-09-01T13:49:21.017Z",
  "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",
  "description": null,
  "mtu": 1500,
  "template_id": null,
  "httpboot_id": null,
  "nic_delay": null,
  "externalipam_id": null,
  "externalipam_group": null,
  "bmc_id": 821748566,
  "to_label": "one (2.3.4.0/24)",
  "type": "Subnet::Ipv4"
}

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.