# Cisco Meraki: Update/Edit an existing VLAN Profile

**URL:** <https://forum.ansible.com/t/cisco-meraki-update-edit-an-existing-vlan-profile/45548>\
**Category:** Get Help\
**Tags:** cisco, meraki\
**Created:** [March 17, 2026, 12:31pm UTC](https://forum.ansible.com/t/cisco-meraki-update-edit-an-existing-vlan-profile/45548 "2026-03-17T12:31:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![irushX73](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/irushx73/32/10477_2.png) [@irushX73](https://forum.ansible.com/u/irushX73)\
**Post date:** [March 17, 2026, 12:31pm UTC](https://forum.ansible.com/t/cisco-meraki-update-edit-an-existing-vlan-profile/45548/1 "2026-03-17T12:31:52Z")

</div>

Hi all

I am currently trying to edit the existing VLAN Profiles of our Cisco Meraki Network.  
Therefore I am trying to use the module “cisco.meraki.networks\_vlan\_profile” as documented in [cisco.meraki.networks\_vlan\_profiles module – Resource module for networks \_vlanprofiles — Ansible Community Documentation](https://docs.ansible.com/projects/ansible/latest/collections/cisco/meraki/networks_vlan_profiles_module.html#ansible-collections-cisco-meraki-networks-vlan-profiles-module).

This is the task I am using to edit the VLAN:  
- name: Edit VLAN Profile  
cisco.meraki.networks\_vlan\_profiles:  
meraki\_suppress\_logging: true  
meraki\_api\_key: “{{ meraki\_dashboard\_api\_key }}”  
state: present  
iname: “Ansible”  
name: “Ansible Test VLAN Profile”  
networkId: “{{ meraki\_network\_ids[‘my-network-id’] }}”  
vlanGroups:   
vlanNames:  
- name: “Ansible-Test-VLAN-10”  
vlanId: ‘10’

The output error is the following:  
“The error was: meraki.exceptions.APIError: networks, createNetworkVlanProfile - 400 Bad Request, {‘errors’: [‘Name has already been taken and Iname has already been taken’]}”

I can confirm that this code is working perfectly fine to create a new VLAN Profile but as soon as I want to change e.g. the VLAN ID or name I am running into this error.

I assume that this should be possible because part of the Synopsis of the module is " \* Update an existing VLAN profile of a network."  
Can someone give advice to me what I am supposed to do in order to get this running?

Thank you!
