Networks

Update a network

Partial update — every field is optional. A new range is saved as the network address and must not overlap another network, archived ones included (409 `network_overlap`). On a detected network (`automatic: true`), `ipAddress` and `subnet` are read-only: changing them is rejected with a 422 (`detected_network_address_locked`). An unknown `role` or `subnet`, or an invalid address (`invalid_network_address`), is also rejected with a 422.

Required scope networks:edit

patch/networks/{id}

Authorizations

Authorizationstringrequired

Authorization header carrying a workspace API key, as “Bearer kbn_live_…”. The X-Api-Key header is accepted equivalently.

Path parameters

idstring<uuid>required

Identifier of the network.

Bodyapplication/json

namestring

Name of the network.

roleenum<string>

Role the network plays.

Available options: local, wireless, storage, vpn, data_center, edge, public, management, dmz, iot, intercommunication

ipAddressstring

Base address of the network.

subnetstring

Subnet in CIDR notation, for example `/24`.

descriptionstring

Free-text description of the network.

vlanIdstring

VLAN the network is carried on.

Response200 · application/json

The updated network record.

idstring<uuid>required

Identifier of the network.

namestringrequired

Name of the network.

roleenum<string> | null

Role the network plays; `null` when none is set, as on a detected network until you give it one.

Available options: local, wireless, storage, vpn, data_center, edge, public, management, dmz, iot, intercommunication

ipAddressstringrequired

Base address of the network.

subnetstringrequired

Subnet in CIDR notation.

descriptionstring | null

Free-text description of the network.

vlanIdstring | null

VLAN the network is carried on.

automaticbooleanrequired

`true` when Kabeen detected the network from the address of a server's primary interface. Its `ipAddress` and `subnet` are then read-only, and it must be archived before it can be deleted.

archivedbooleanrequired

`true` when the network is archived. The app hides it from the network list and map, and the topology endpoints leave it out; servers in its range still join it.

routersany[]required

Routers connected to the network.