Module: Templates
- Included in:
- DashboardAPI
- Defined in:
- lib/templates.rb
Overview
Templates section of the Meraki Dashboard API
Instance Method Summary collapse
-
#list_templates(org_id) ⇒ Array
Return a list of all templates for a specific organization.
-
#remove_template(org_id, template_id) ⇒ Integer
Remove a single configuration template.
Instance Method Details
#list_templates(org_id) ⇒ Array
Return a list of all templates for a specific organization
7 8 9 |
# File 'lib/templates.rb', line 7 def list_templates(org_id) self.make_api_call("/organizations/#{org_id}/configTemplates", 'GET') end |
#remove_template(org_id, template_id) ⇒ Integer
Remove a single configuration template
15 16 17 |
# File 'lib/templates.rb', line 15 def remove_template(org_id, template_id) self.make_api_call("/organizations/#{org_id}/configTemplates/#{template_id}", 'DELETE') end |