networks

Manage networks.
get /networks

List all configured networks.

Parameters
pagination 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

Parameters
body 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

Parameters
body 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

Parameters
id integer path Required
Responses
default successful operation