API endpoint not working v1.47 & v1.48.0

Solved
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?

1 Accepted Solution
John_on_API
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.

View solution in original post

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

Is it already configured with a VLAN?

252_Masked_Nett
Getting noticed

Teleworker Gateway > Addressing/VLANs > Routing > Single LAN

John_on_API
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.

252_Masked_Nett
Getting noticed

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?

252_Masked_Nett
Getting noticed

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.  

RicardoD
Meraki Employee
Meraki Employee

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.