---
title: "Create a new Standard Switch"
method: POST
path: "/network/switch"
tags: ["Network"]
---

# Create a new Standard Switch

`POST /network/switch`

Create a new standard switch

## Request body

- InternalHandlersNetworkCreateStandardSwitchRequest
  - `defaultRoute` boolean
  - `dhcp` boolean
  - `disableIPv6` boolean
  - `gateway4` integer
  - `gateway6` integer
  - `mtu` integer
  - `name` string, required
  - `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

- `400` — Bad Request
- `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)
