SitesNetwork Templates

listSiteNetworkTemplatesDerived

GET
/api/v1/sites/{site_id}/networktemplates/derived

Get the list of derived Network Templates a Site

Authorization

Authorization<token>

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

site_id*string
Formatuuid

Query Parameters

resolve?boolean

Whether resolve the site variables

Response Body

curl -X GET "https://example.com/api/v1/sites/000000ab-00ab-00ab-00ab-0000000000ab/networktemplates/derived"
{  "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": [    "string"  ],  "dns_suffix": [    "string"  ],  "extra_routes": {    "property1": {      "via": "string"    },    "property2": {      "via": "string"    }  },  "group_tags": {},  "id": "497f6eca-6276-4993-bfeb-53cbbbba6708",  "import_org_networks": [    "ap"  ],  "mist_nac": {    "enabled": true,    "network": "string"  },  "modified_time": 0,  "name": "string",  "networks": {    "property1": {      "subnet": "192.168.1.0/24",      "vlan_id": 10    },    "property2": {      "subnet": "192.168.1.0/24",      "vlan_id": 10    }  },  "ntp_servers": [    "string"  ],  "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",  "port_usages": {    "dynamic": {      "mode": "dynamic",      "reset_default_when": "link_down",      "rules": [        {          "equals": "string",          "equals_any": [            "string"          ],          "expression": "string",          "src": "lldp_chassis_id",          "usage": "string"        }      ]    },    "property1": {      "all_networks": false,      "allow_dhcpd": true,      "bypass_auth_when_server_down": true,      "description": "string",      "disable_autoneg": false,      "disabled": false,      "duplex": "auto",      "enable_mac_auth": true,      "enable_qos": true,      "guest_network": "string",      "mac_auth_only": true,      "mac_auth_protocol": "pap",      "mac_limit": 0,      "networks": [        "string"      ],      "persist_mac": false,      "poe_disabled": false,      "port_auth": "dot1x",      "port_network": "string",      "server_reject_network": null,      "speed": "auto",      "storm_control": {        "no_broadcast": false,        "no_multicast": false,        "no_registered_multicast": false,        "no_unknown_unicast": false,        "percentage": 80      },      "stp_edge": true,      "voip_network": "string"    },    "property2": {      "all_networks": false,      "allow_dhcpd": true,      "bypass_auth_when_server_down": true,      "description": "string",      "disable_autoneg": false,      "disabled": false,      "duplex": "auto",      "enable_mac_auth": true,      "enable_qos": true,      "guest_network": "string",      "mac_auth_only": true,      "mac_auth_protocol": "pap",      "mac_limit": 0,      "mode": "access",      "networks": [        "string"      ],      "persist_mac": false,      "poe_disabled": false,      "port_network": "string",      "server_reject_network": null,      "speed": "auto",      "storm_control": {        "no_broadcast": false,        "no_multicast": false,        "no_registered_multicast": false,        "no_unknown_unicast": false,        "percentage": 80      },      "stp_edge": true,      "voip_network": "string"    }  },  "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"      ]    }  }}