DELETE /api/hosts/2/interfaces/4
{
"interface": {}
}
422
{
"error": {
"id": 4,
"errors": {
"primary": [
"can't delete primary interface of managed host"
],
"provision": [
"can't delete provision interface of managed host"
]
},
"full_messages": [
"Primary can't delete primary interface of managed host",
"Provision can't delete provision interface of managed host"
]
}
}
| Param name | Description |
|---|---|
|
location_id optional |
Set the current location context for the request Validations:
|
|
organization_id optional |
Set the current organization context for the request Validations:
|
|
host_id required |
ID or name of host Validations:
|
|
id required |
ID of interface Validations:
|