# le\_result\_t taf\_net\_RemoveVlan(taf\_net\_VlanRef\_t)

- Defined in [File taf\_net\_interface.h](https://docs.qualcomm.com/doc/80-41102-2/topic/_doxygen_rst_file__doxygen_sources_taf_net_interface_h.html#file-doxygen-sources-taf-net-interface-h)

## Function Documentation

- [le\_result\_t](https://docs.qualcomm.com/doc/80-41102-2/topic/enum_a00050_1a1cca095ed6ebab24b57a636382a6c86c.html#_CPPv411le_result_t) taf\_net\_RemoveVlan([taf\_net\_VlanRef\_t](https://docs.qualcomm.com/doc/80-41102-2/topic/typedef_a00623_1a2fbc113f1becf1acaf6f54dd35216f87.html#_CPPv417taf_net_VlanRef_t) vlanRef)

    - Removes a VLAN.

**NOTE:** The system is not allowed to remove a VLAN if the VLAN interface list is not empty.

- Parameters:

    - **vlanRef** – [IN] VLAN reference.

- Returns:

    - - LE\_OK — Succeeded.
- LE\_NOT\_FOUND — VLAN was not found.
- LE\_BAD\_PARAMETER — Bad parameter.
- LE\_FAULT — Failed.

Last Published: Jun 09, 2026