networks
Manage networks.
get /networks
List all configured networks.
Parameterspagination string query
Responses
200 successful operation
NetworkInfo array
NetworkInfo object
[
{
"id": 0,
"ip": "string",
"mtu": 0,
"type": "other",
"gateway": "string",
"netmask": 0,
"poolEnd": "string",
"poolStart": "string",
"description": "string"
}
]
post /networks
Create a new network
Parametersbody object
{
"ip": "string",
"mtu": 0,
"type": "other",
"gateway": "string",
"netmask": 0,
"poolEnd": "string",
"poolStart": "string",
"description": "string"
}
Responses
200 successful operation
NetworkInfo object
{
"id": 0,
"ip": "string",
"mtu": 0,
"type": "other",
"gateway": "string",
"netmask": 0,
"poolEnd": "string",
"poolStart": "string",
"description": "string"
}
put /networks/{id}
Replace a network, must provide the full network config
Parametersbody object
id integer path Required
{
"ip": "string",
"mtu": 0,
"type": "other",
"gateway": "string",
"netmask": 0,
"poolEnd": "string",
"poolStart": "string",
"description": "string"
}
Responses
default successful operation
delete /networks/{id}
Delete a network by its ID
Parametersid integer path Required
Responses
default successful operation