Examples

DELETE /api/hosts/host212/interfaces/2
{
  "interface": {}
}
200
{
  "id": 2,
  "mac": "00:33:45:ab:00:07",
  "ip": "0.0.0.7",
  "name": null,
  "host_id": 1,
  "subnet_id": null,
  "domain_id": null,
  "attrs": {},
  "created_at": "2018-11-15T19:02:11.332Z",
  "updated_at": "2018-11-15T19:02:11.332Z",
  "provider": null,
  "username": null,
  "password": null,
  "virtual": false,
  "link": true,
  "identifier": "eth17",
  "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

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