---
title: "Clear all configurations on this VLAN, including Ports, IPs and associated Static Routes"
method: POST
path: "/vlan/{vlanId}/clear"
tags: ["VLAN"]
---

# Clear all configurations on this VLAN, including Ports, IPs and associated Static Routes

`POST /vlan/{vlanId}/clear`

## Headers

- `X-Fields` string, mask

## Response `202`

Accepted.

- NetworkTaskDump
  - `clientId` integer — Unique ID of the client triggering the task.
  - `deviceId` integer — Unique ID of the target device.
  - `metaData` string — Key value arguments used to trigger the task.
  - `result` string — Success|Pending|Failed. Null value also means Pending.
  - `taskCreated` object — Timestamp of task creation date.
  - `taskId` string — Unique ID of the network task.
  - `taskUpdated` object — Timestamp of most recent activity taken on the network task. This will update multiple times for multi-step tasks.

## Other responses

- `400` — Error.
- `401` — Access to VLAN not Allowed
- `403` — You have not been granted permission to complete this action. Please contact your account manager to grant the proper permission.
- `404` — VLAN Not Found

---

[API](https://skmtc.net/hivelocity/apis/hivelocity-api.md) · [All operations](https://skmtc.net/hivelocity/apis/hivelocity-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hivelocity/hivelocity-api/revisions/ee6b717b5015/schema)
