04-13-2022 02:33 AM
I have an API to create Vlans in a network with type as Appliance, but the same API doesn't work if the network type is Combined. Is there a solution for this?
I am using the below API and the error i am getting is "{\"errors\":[\"This endpoint only supports MX networks\"]}
https://api.meraki.com/api/v1/networks/"Network_Id"/appliance/vlans
Body:
{
"applianceIp": "x.x.x.x",
"id": "1234",
"name": "TestVlan",
"netid": "net_id",
"netname": "abc",
"subnet": "x.x.x.x/28"
}
Thanks in advance.
Solved! Go to Solution.
04-13-2022 03:05 AM
This one works. Are you using the combined network id?. L_123456....
https://developer.cisco.com/meraki/api-latest/#!create-network-appliance-vlan
04-13-2022 03:05 AM
This one works. Are you using the combined network id?. L_123456....
https://developer.cisco.com/meraki/api-latest/#!create-network-appliance-vlan
04-13-2022 03:16 AM
Thanks for pointing out the error in the network id. That was the issue, a silly mistake. 🙂
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide