May 1 2024
11:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 1 2024
11:45 AM
API To Get A list Of Network In Template
Hi All,
Is there an api to Get A list Of Network In a Template ? like mx appliance template and I need a list of all bounded network in it.
Thank you in advance
Solved! Go to solution.
1 Accepted Solution
May 2 2024
2:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 2 2024
2:07 PM
Here is some sample code:
def getTemplateId(dashboard,orgId,templateName):
# Search for the template
for template in dashboard.organizations.getOrganizationConfigTemplates(orgId):
if template['name'] == templateName:
return(template['id'])
raise SystemExit("Cound not find template: "+templateName)
3 Replies 3
May 1 2024
12:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 1 2024
12:39 PM
Use getOrganizationNetworks:
https://developer.cisco.com/meraki/api-v1/get-organization-networks/
With the filter configTemplateId.
May 2 2024
10:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 2 2024
10:39 AM
Thank you for reply. Where do i get the configTemplateId from ?
May 2 2024
2:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 2 2024
2:07 PM
Here is some sample code:
def getTemplateId(dashboard,orgId,templateName):
# Search for the template
for template in dashboard.organizations.getOrganizationConfigTemplates(orgId):
if template['name'] == templateName:
return(template['id'])
raise SystemExit("Cound not find template: "+templateName)

Get notified when there are additional replies to this discussion.