API to create a Vlan in a combined network

VinoyMohan
Getting noticed

API to create a Vlan in a combined network

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.

2 Replies 2
PhilipDAth
Kind of a big deal
Kind of a big deal

That looks correct.  Are you sure this combined network has an MX in it?

No, but why does the rror comes then?

"{\"errors\":[\"This endpoint only supports MX networks\"]}

How can I get rid of it?

Otherwise the SSID is not created

Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.
Labels