OrgsAP Templates

updateOrgAptemplate

PUT
/api/v1/orgs/{org_id}/aptemplates/{aptemplate_id}

Update an organization AP template's AP matching rules, port configuration, Wi-Fi settings, or mesh settings.

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

org_id*string
Formatuuid
aptemplate_id*string
Formatuuid

Request Body

application/json

Access point template configuration

ap_matching*

Rules used to select access points for this AP template

wifi?

Wi-Fi and mesh settings applied by this AP template

Response Body

curl -X PUT "https://example.com/api/v1/orgs/000000ab-00ab-00ab-00ab-0000000000ab/aptemplates/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{    "ap_matching": {      "enabled": true,      "rules": [        {          "match_model": "string",          "name": "string",          "port_config": {            "eth1,eth2": {              "disabled": true,              "dynamic_vlan": {                "default_vlan_id": 999,                "enabled": true              },              "port_vlan_id": 1,              "vlan_id": 9,              "vlan_ids": "1, 10, 50"            }          }        }      ]    },    "wifi": {      "cisco_enabled": true,      "disable_11k": false,      "disable_radios_when_power_constrained": true,      "enable_arp_spoof": true,      "enable_shared_radio_scanning": false,      "enabled": true,      "locate_connected": false,      "locate_unconnected": false,      "mesh_allow_dfs": false,      "mesh_enable_crm": true,      "mesh_enabled": true,      "proxy_arp": false    }  }'
{  "ap_matching": {    "enabled": true,    "rules": [      {        "match_model": "string",        "name": "string",        "port_config": {          "eth1,eth2": {            "disabled": true,            "dynamic_vlan": {              "default_vlan_id": 999,              "enabled": true            },            "port_vlan_id": 1,            "vlan_id": 9,            "vlan_ids": "1, 10, 50"          }        }      }    ]  },  "created_time": 0,  "for_site": true,  "id": "497f6eca-6276-4993-bfeb-53cbbbba8f08",  "modified_time": 0,  "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",  "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",  "wifi": {    "cisco_enabled": true,    "disable_11k": false,    "disable_radios_when_power_constrained": true,    "enable_arp_spoof": true,    "enable_shared_radio_scanning": false,    "enabled": true,    "locate_connected": false,    "locate_unconnected": false,    "mesh_allow_dfs": false,    "mesh_enable_crm": true,    "mesh_enabled": true,    "proxy_arp": false  }}