SitesStatsWxRules

getSiteWxRulesUsage

GET
/api/v1/sites/{site_id}/stats/wxrules

Get Wxlan Rule usage

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

Response Body

curl -X GET "https://example.com/api/v1/sites/000000ab-00ab-00ab-00ab-0000000000ab/stats/wxrules"
[  {    "action": "allow",    "client_mac": [      "3bbbf819bb6f",      "bd96cbc4910f"    ],    "dst_allow_wxtags": [      "fff34466-eec0-3756-6765-381c728a6037",      "eee2c7b0-d1d0-5a30-f349-e35fa43dc3b3"    ],    "dst_deny_wxtags": [      "aaa34466-eec0-3756-6765-381c728a6037",      "bbb2c7b0-d1d0-5a30-f349-e35fa43dc3b3"    ],    "dst_wxtags": [      "d4134466-eec0-3756-6765-381c728a6037",      "1a42c7b0-d1d0-5a30-f349-e35fa43dc3b3"    ],    "name": "Guest",    "order": 1,    "src_wxtags": [      "8bfc2490-d726-3587-038d-cb2e71bd2330",      "3aa8e73f-9f46-d827-8d6a-567bb7e67fc9"    ],    "usage": {      "1a42c7b0-d1d0-5a30-f349-e35fa43dc3b3": {        "num_flows": 60      },      "d4134466-eec0-3756-6765-381c728a6037": {        "num_flows": 60      }    }  }]