Claiming devices into combined networks via API

Solved
AlexG
Getting noticed

Claiming devices into combined networks via API

We started using combined networks and I need to rewrite some of the automation for setting up new sites. I'm getting HTTP 400 errors when sending an array of serials for MX, MR, and MS devices while using the L_####### combined network ID. I am finding no discussions around this specifically, so I'm wondering, has anyone else run into this? Will I need to pull the MX network ID per Deep linking to the Meraki Dashboard - Meraki Developer Hub – Homepage - Cisco Meraki Developer Hub & this API endpoint: api.meraki.com/manage/organization/administered_orgs? It's possible my JSON is somehow hosed, but I've look at it multiple times over the past couple of days and I'm just not seeing what the issue would be. Hoping someone here can confirm or deny that what I'm doing should work. Thanks!

1 Accepted Solution
John_on_API
Meraki Employee
Meraki Employee

Hi Alex, claiming into combined networks should work. You may still have an incorrect network ID, however, to explain the 400, or there may be some other reason why you're not allowed to make that change (e.g. permissions issue on that network). In any case, deeplinking, etc. is not necessary. I hope this helps!

View solution in original post

2 Replies 2
John_on_API
Meraki Employee
Meraki Employee

Hi Alex, claiming into combined networks should work. You may still have an incorrect network ID, however, to explain the 400, or there may be some other reason why you're not allowed to make that change (e.g. permissions issue on that network). In any case, deeplinking, etc. is not necessary. I hope this helps!

AlexG
Getting noticed

It was in fact my JSON formatting.. Appreciate the confirmation that it should be working! I just rebuilt my function and got a successful response.

Get notified when there are additional replies to this discussion.