---
title: "Update an existing vlan"
method: PATCH
path: "/vlans/{vlan_id}/"
tags: ["Vlans"]
---

# Update an existing vlan

`PATCH /vlans/{vlan_id}/`

## Path parameters

- `vlan_id` integer, required

## Request body

- Vlan
  - `gateway` string
  - `ip_free` integer
  - `ip_range` string
  - `netmask` string
  - `vlan_id` integer

## Response `200`

Vlan details

- Vlan
  - `gateway` string
  - `ip_free` integer
  - `ip_range` string
  - `netmask` string
  - `vlan_id` integer

## Other responses

- `default` — Unexpected error

## Changes

- **2024-09-26** `098c2dd82fa1` — 1 info
  - endpoint added
- **2024-01-29** `73b6d82124fb` — 1 breaking
  - api removed without deprecation

[Change history](https://skmtc.dev/quadsproject/apis/quads/changes/vlans/:vlan_id/patch.md)

---

[API](https://skmtc.dev/quadsproject/apis/quads.md) · [All operations](https://skmtc.dev/quadsproject/apis/quads/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/quadsproject/quads/revisions/a060ee3d649d/schema)
