Network

Update a standard switch

Replace and apply a managed standard network switch by ID. Changing VLAN-filtering mode recreates the bridge and requires all VM and jail interfaces to be detached; changing the default access VLAN requires all attached VMs to be stopped.

put/network/switch/standard/{id}

Path parameters

idinteger required

Standard Switch ID

Request body

confirmHostLayer3Removalboolean
confirmRCConflictsboolean
defaultAccessVlaninteger
defaultRouteboolean
defaultRoute6boolean
dhcpboolean
disableBridgeOffloadsboolean
disableIPv6boolean
gateway4integer
gateway4Manualstring
gateway6integer
gateway6Manualstring
hostVlaninteger
mtuinteger
network4integer
network4Manualstring
network6integer
network6Manualstring
portPoliciesobject
portsstring[]
privateboolean required
slaacboolean
vlaninteger
vlanFilteringboolean

Response

Success

{"stackTrail":"components:schemas:github_com_alchemillahq_sylve_internal.APIResponse-any:properties:data","oasType":"schema","type":"unknown"}
errorstring
messagestring
statusstring

Changes