API endpoint not working v1.47 & v1.48.0

252_Masked_Nett
Getting noticed

API endpoint not working v1.47 & v1.48.0

Hello Folks,

 

Attempting to update a Z3's single LANs DHCP, DNS custom name server IP addresses using 'baseUrl/networks/:networkId/appliance/singleLan'. When I enter the updated IPs in the body of the PUT request, the successful response shows the IP addresses went unchanged. Can anyone test this and verify?

8 Replies 8
PhilipDAth
Kind of a big deal
Kind of a big deal

Is it already configured with a VLAN?

Teleworker Gateway > Addressing/VLANs > Routing > Single LAN

John-K
Meraki Employee
Meraki Employee

Hi @252_Masked_Nett are you sure updates are allowed to that path? Please check the documentation and confirm. I suspect it's a read-only operation.

There's a PUT method for single lan settings, but I just recognized something, there isn't a 'name:value' option for any custom name servers in the schema. So that isn't supported right now.

RicardoD
Meraki Employee
Meraki Employee

Are you using this API Endpoint? https://developer.cisco.com/meraki/api-v1/update-network-appliance-single-lan/ 

Are you getting any specific errors?

No specific errors. The custom name server field wouldn't update. BUT, I just saw that it isn't supported right now in the schema. There's not 'name:value' pair in the schema example supporting this right now.  

What if you use this API Endpoint to update the VLAN information? https://developer.cisco.com/meraki/api-v1/update-network-appliance-vlan/

 

252_Masked_Nett
Getting noticed

Thank you all for your help. Understanding Postman and Meraki API is still a ongoing learning journey me!

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.