---
title: "Update a Standard Switch"
method: PUT
path: "/network/switch"
tags: ["Network"]
---

# Update a Standard Switch

`PUT /network/switch`

Update a standard switch by ID

## Path parameters

- `id` integer, required

## Request body

- InternalHandlersNetworkUpdateStandardSwitchRequest
  - `defaultRoute` boolean
  - `dhcp` boolean
  - `disableIPv6` boolean
  - `gateway4` integer
  - `gateway6` integer
  - `id` integer, required
  - `mtu` integer
  - `network4` integer
  - `network6` integer
  - `ports` string[], required
  - `private` boolean, required
  - `slaac` boolean
  - `vlan` integer

## Response `200`

Success

- GithubComAlchemillahqSylveInternalAPIResponseAny
  - `data` unknown
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `500` — Internal Server Error

---

[API](https://skmtc.net/alchemillahq/apis/sylve-api.md) · [All operations](https://skmtc.net/alchemillahq/apis/sylve-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/alchemillahq/sylve-api/versions/950e51f8af98/schema)
