Get Network Interface Settings
Get network interface settings.
The name of the network interface.
The network interface settings.
{
"status": "string",
"mac": "00:0C:29:94:BB:5A",
"name": "nic0",
"ipv4": {
"address": "10.20.80.191",
"default_gateway": "string",
"assignment_mode": "string",
"prefix": 0
},
"ipv6": {
"autoconfigure": false,
"dhcp": false,
"default_gateway": "string",
"addresses": [
{
"address": "fc00:10:20:83:20c:29ff:fe94:bb5a",
"prefix": 64
}
]
},
"_meta": {
"errors": [
{
"code": "string",
"message": "string",
"field": "string"
}
]
}
}
Response meta data. Contains data about the response payload data.
Bad request - the server could not understand the request due to invalid syntax or invalid request body content
"ResponseError Object"
The code of the error.
The message of the error.
The ID of the operation.
Unauthorized - the client must authenticate itself to get the requested response
Forbidden - not sufficient access rights to fulfill the request
"ResponseError Object"
The code of the error.
The message of the error.
The ID of the operation.
Not Found - server cannot find the requested in URL resource
Internal server error - unexpected condition prevents fulfilling the request
"ResponseError Object"
The code of the error.
The message of the error.
The ID of the operation.
curl -H 'Authorization: <value>' https://{api_host}/appliance/settings/network/interfaces/{interface_name}