listOrgNetworkTemplates
List organization network templates that provide switch network, port, management, routing, NAC, and service configuration at the organization level.
Preferred authentication method for automation and integrations. Send the API token in the HTTP Authorization header.
Format:
Authorization: Token {apitoken}
Notes:
- An API token generated for a specific admin has the same privileges as that admin
- An API token is automatically removed if it is not used for more than 90 days
- SSO admins cannot generate admin API tokens. Use organization API tokens when scoped Org/Site privileges are needed.
In: header
Path Parameters
uuidQuery Parameters
Maximum number of results to return per page
0 <= value100Select the page number to return when using page-based pagination; starts at 1
1 <= value1Response Body
curl -X GET "https://example.com/api/v1/orgs/000000ab-00ab-00ab-00ab-0000000000ab/networktemplates"[ { "additional_config_cmds": [ "set snmp community public" ], "created_time": 0, "dhcp_snooping": { "all_networks": true, "enable_arp_spoof_check": true, "enable_ip_source_guard": true, "enabled": true, "networks": [ "string" ] }, "dns_servers": [ "8.8.8.8", "4.4.4.4" ], "dns_suffix": [ ".mist.local", ".mist.com" ], "extra_routes": { "0.0.0.0/0": { "via": "1.2.3.4" } }, "group_tags": {}, "id": "497f6eca-6276-4993-bfeb-53cbbbba6808", "import_org_networks": [ "ap" ], "mist_nac": { "enabled": true, "network": "default" }, "modified_time": 0, "name": "template_name", "networks": { "corp": { "vlan_id": 600 }, "default": { "subnet": "192.168.1.0/24", "vlan_id": 1 }, "guest": { "vlan_id": 700 }, "mgmt": { "vlan_id": 500 } }, "ntp_servers": [ "192.168.1.10" ], "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b", "port_usages": { "ap": { "all_networks": false, "allow_dhcpd": true, "bypass_auth_when_server_down": true, "description": "WAP", "disable_autoneg": false, "disabled": false, "duplex": "auto", "enable_mac_auth": false, "enable_qos": true, "mac_auth_only": false, "mac_auth_protocol": "pap", "mac_limit": 0, "mode": "trunk", "networks": [ "guest", "corp" ], "persist_mac": false, "poe_disabled": false, "port_network": "default", "server_reject_network": null, "storm_control": { "no_broadcast": false, "no_multicast": false, "no_registered_multicast": false, "no_unknown_unicast": false, "percentage": 80 }, "stp_edge": true }, "dynamic": { "mode": "dynamic", "reset_default_when": "link_down", "rules": [ { "equals": "string", "equals_any": [ "string" ], "expression": "string", "src": "lldp_chassis_id", "usage": "string" } ] }, "iot": { "allow_dhcpd": true, "mode": "access", "port_network": "default", "stp_edge": true }, "uplink": { "all_networks": true, "enable_qos": false, "mode": "trunk", "port_network": "default", "stp_edge": false } }, "radius_config": { "acct_interim_interval": 0, "acct_servers": [ { "host": "1.2.3.4", "keywrap_enabled": true, "keywrap_format": "hex", "keywrap_kek": "1122334455", "keywrap_mack": "1122334455", "port": 1813, "secret": "testing123" } ], "auth_servers": [ { "host": "1.2.3.4", "keywrap_enabled": true, "keywrap_format": "hex", "keywrap_kek": "1122334455", "keywrap_mack": "1122334455", "port": 1812, "secret": "testing123" } ], "auth_servers_retries": 3, "auth_servers_timeout": 5, "coa_enabled": false, "coa_port": 3799, "network": "default" }, "remote_syslog": { "archive": { "files": 20, "size": "5m" }, "console": { "contents": [ { "facility": "config", "severity": "warning" } ] }, "enabled": false, "files": [ { "archive": { "files": 10, "size": "5m" }, "contents": [ { "facility": "config", "severity": "warning" } ], "explicit_priority": true, "file": "file-name", "match": "!alarm|ntp|errors.crc_error[chan]", "structured_data": true } ], "network": "default", "send_to_all_servers": false, "servers": [ { "facility": "config", "host": "syslogd.internal", "port": 514, "protocol": "udp", "severity": "info", "tag": "" } ], "time_format": "millisecond", "users": [ { "contents": [ { "facility": "config", "severity": "warning" } ], "match": "\"!alarm|ntp|errors.crc_error[chan]\"", "user": "*" } ] }, "switch_matching": { "enable": true, "rules": [ { "additional_config_cmds": [ "set snmp community public" ], "match_model": "EX4300", "match_name[0:3]": "abc", "name": "match by name", "port_config": { "ge-0/0/0": { "usage": "uplink" }, "ge-0/0/8-16ge-1/0/0-47": { "usage": "ap" } } }, { "additional_config_cmds": [ "set snmp community public2" ], "match_role": "access", "name": "match by role", "port_config": { "ge-0/0/0": { "usage": "uplink" } } } ] }, "switch_mgmt": { "config_revert_timer": 10, "protect_re": { "enabled": false }, "root_password": "string", "tacacs": { "acct_servers": [ { "host": "198.51.100.1", "port": "49", "secret": "string", "timeout": 10 } ], "enabled": true, "network": "string", "tacplus_servers": [ { "host": "198.51.100.1", "port": "49", "secret": "string", "timeout": 10 } ] } }, "vrf_config": { "enabled": false }, "vrf_instances": { "property1": { "extra_routes": { "property1": { "via": "198.51.100.1" }, "property2": { "via": "198.51.100.10" } }, "networks": [ "string" ] }, "property2": { "extra_routes": { "property1": { "via": "198.51.100.1" }, "property2": { "via": "198.51.100.10" } }, "networks": [ "string" ] } } }]updateOrgNacTag PUT
Update a NAC tag, including matcher values or result attributes such as RADIUS attributes, VLAN, session timeout, username attribute, or portal redirection.
createOrgNetworkTemplate POST
Create an organization network template with network, port usage, switch management, routing, NAC, and service configuration at the organization level. Network templates can be applied to multiple sites within the organization to provide consistent network configuration across sites. To assign a network template to a site, use the [Update Site](/api/mist/sites/updateSiteInfo) endpoint and specify the network template ID in the `networktemplate_id` field of the request body.