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
/networks/{id}Authorizations
AuthorizationstringrequiredAuthorization header carrying a workspace API key, as “Bearer kbn_live_…”. The X-Api-Key header is accepted equivalently.
Path parameters
idstring<uuid>requiredIdentifier of the network.
Bodyapplication/json
namestringName of the network.
roleenum<string>Role the network plays.
Available options: local, wireless, storage, vpn, data_center, edge, public, management, dmz, iot, intercommunication
ipAddressstringBase address of the network.
subnetstringSubnet in CIDR notation, for example `/24`.
descriptionstringFree-text description of the network.
vlanIdstringVLAN the network is carried on.
Response200 · application/json
The updated network record.
idstring<uuid>requiredIdentifier of the network.
namestringrequiredName of the network.
roleenum<string> | nullRole 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
ipAddressstringrequiredBase address of the network.
subnetstringrequiredSubnet in CIDR notation.
descriptionstring | nullFree-text description of the network.
vlanIdstring | nullVLAN 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[]requiredRouters connected to the network.