API call: Unbind a network from a template

Solved
OwenStickley
Conversationalist

API call: Unbind a network from a template

Hi all. When I make a call to the "unbind a network from a template" API, I receive an HTTP 404 response. I am wondering if anyone has used this API call or knows what the nuances are to getting it right. From the documentation, it looks extremely straightforward to make this call. It doesn't seem to require any additional information?

 

I have attached a screenshot from Postman showing what happens.postman - unbind api call - http 404.PNG

1 Accepted Solution
BrechtSchamp
Kind of a big deal

I think it's supposed to be a POST call, not a GET.

View solution in original post

5 Replies 5
Kamome
Building a reputation

Did you put Network Name in API URL? (blacked-out part)
OwenStickley
Conversationalist

Hi Kamome,

 

I put the network ID there. i.e. "L_<18-digit number>". Sometimes the network ID is "N_<18-digit number>".

BrechtSchamp
Kind of a big deal

I think it's supposed to be a POST call, not a GET.

PhilipDAth
Kind of a big deal
Kind of a big deal

I'm with @BrechtSchamp , the API docs specifically state a POST operation.

https://dashboard.meraki.com/api_docs#unbind-a-network-from-a-template

OwenStickley
Conversationalist

Thank-you @BrechtSchamp and @PhilipDAth, you were right. I hadn't noticed this is a POST, not GET method.
Get notified when there are additional replies to this discussion.