Examples

DELETE /api/hosts/host2202/interfaces/42
{
  "interface": {}
}
200
{
  "id": 42,
  "mac": "00:33:45:ab:00:f1",
  "ip": "0.0.0.160",
  "name": null,
  "host_id": 37,
  "subnet_id": null,
  "domain_id": null,
  "attrs": {},
  "created_at": "2018-07-24T13:13:58.784Z",
  "updated_at": "2018-07-24T13:13:58.784Z",
  "provider": null,
  "username": null,
  "password": null,
  "virtual": false,
  "link": true,
  "identifier": "eth669",
  "tag": "",
  "attached_to": "",
  "managed": true,
  "mode": "balance-rr",
  "attached_devices": "",
  "bond_options": "",
  "primary": false,
  "provision": false,
  "compute_attributes": {},
  "ip6": null,
  "subnet6_id": null,
  "execution": false
}

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

host_id
required

ID or name of host

Validations:

  • Must be a String

id
required

ID of interface

Validations:

  • Must be a String