Examples

DELETE /api/hosts/host1114/interfaces/2
{
  "interface": {}
}
200
{
  "id": 2,
  "mac": "00:33:45:ab:00:7d",
  "ip": "0.0.0.62",
  "name": null,
  "host_id": 1,
  "subnet_id": null,
  "domain_id": null,
  "attrs": {},
  "created_at": "2022-09-06T14:53:52.090Z",
  "updated_at": "2022-09-06T14:53:52.090Z",
  "provider": null,
  "username": null,
  "password": null,
  "virtual": false,
  "link": true,
  "identifier": "eth444",
  "tag": "",
  "attached_to": "",
  "managed": true,
  "mode": "balance-rr",
  "attached_devices": "",
  "bond_options": "",
  "primary": false,
  "provision": false,
  "compute_attributes": {},
  "ip6": null,
  "subnet6_id": 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

host_id
required

ID or name of host

Validations:

  • Must be a String

id
required

ID of interface

Validations:

  • Must be a String